Forum Discussion
3 Replies
Sort By
- lakshmiOccasional ContributorHi,
This is with reference to my previous post.I am able to see the Http Header Information as shown below.I am not able to write the groovy code to capture the "Set-Cookie" parameter and set the same value in another request.
HTTP/1.1 200 OK
X-AspNet-Version: 2.0.50727
Date: Sat, 28 Jun 2008 13:40:30 GMT
Content-Length: 86
Set-Cookie: ASP.NET_SessionId=ycsvh455xliqpj554w2wym45; path=/; HttpOnly
Content-Type: text/xml; charset=utf-8
X-Powered-By: ASP.NET
Server: Microsoft-IIS/5.1
Cache-Control: private
Kindly help asap .
Thanks,
Lakshmi - omatzuraSuper ContributorHi Lakshmi,
maybe you could just use the "Maintain Session State" option in the TestCase Options dialog, which transfers cookie information between requests?
regards!
/Ole
eviware.com - lakshmiOccasional ContributorHi Ole,
Thanks for the reply and it simply works great.
Now i am able to also have an integration test case flow with combinations of different requests and their respective groovy scripts to parse the respective response xmls.
Thanks again.
Regards,
Lakshmi
Related Content
- 6 years agomartinrampton
- 11 months agoakilan
Recent Discussions
- 3 days agoemoya
- 3 days agoMyBalanceNow