anbeek
13 years agoOccasional Contributor
How do I set multiple cookies in http request?
Hi
Have to get a token for testing my web site.
The token is received after a succesfull login.
So I do
1) goto startpage - here a sessionid is returned, in Set-Cookie
2) perform login (http post) - here a private id is returned in Set-Cookie
both above I got working in soapui, also got the values in from both Set-Cookie.
3) Visit a support page that based on 2 cookies in my httprequest head returns a token for later tests
This I cant figure out, how do I get 2 "Cookie" fields into the request header?
Anyone that knows?
Regards
/Anders
Have to get a token for testing my web site.
The token is received after a succesfull login.
So I do
1) goto startpage - here a sessionid is returned, in Set-Cookie
2) perform login (http post) - here a private id is returned in Set-Cookie
both above I got working in soapui, also got the values in from both Set-Cookie.
3) Visit a support page that based on 2 cookies in my httprequest head returns a token for later tests
This I cant figure out, how do I get 2 "Cookie" fields into the request header?
Anyone that knows?
Regards
/Anders