Forum Discussion
I see a similar question here - https://community.smartbear.com/t5/SoapUI-Open-Source/Cookie-issue-with-SoapUi-5-1-2/m-p/116614/highlight/true#M20121. Please check the solution posted there helps.
If not, could you please share us the output of this piece of code :: messageExchange.responseHeaders.containsKey('Set-Cookie')
Thanks,
Kondasamy
- davissoap9 years agoOccasional Contributor
I am sorry it didn't help me.If i set followredirect to false then the second redirect doesn't happen.But in my case the two redirects should happen .
As fot the out put is concerned , the assertion code is unable to find the cookie as there is no cookie.
We used postman and encountered the same issue , where the cookie was simply not there.But when we used an interceptor, we were able to see the cookie.
Basically SOAUP UI doesn't keeptrack of cookie after two redirects.Cookies are there when "followredirect"is set to false but that stops the second redirect from happening
- davissoap9 years agoOccasional Contributor
can anyone help me on this
- atila_inovecky9 years agoNew Contributor
1. Do you use test step "Add Test Case"? It seems that 'Main HTTP' session is not possible between parent and child Test Case.
Cookies needs to be set manually as a header property.
Related Content
- 10 years ago
- 6 years ago
- 6 years ago
Recent Discussions
- 15 years ago