Cookies issue

kavyakavya Posts: 3
edited August 7 in SOAtest

When I run a POST call in SOATest, I get "connection reset" error. Same request is working in SOAPUI. **I observed that in the request header , cookies of response are getting appended. **If I restart the workspace and then check it's working fine and later I see the same issue. Why are response cookies appended in request header?

Best Answer

Answers

  • benken_parasoftbenken_parasoft Posts: 901 ✭✭✭
    edited August 7

    I observed that in the request header , cookies of response are getting appended

    That's how cookies work. The client makes a request and then the server may send back a response including a cookie. The client is then supposed to send the cookie back to the server in subsequent requests.

    If I restart the workspace and then check it's working fine and later I see the same issue

    Instead of restarting the tool, you can clear cookies by clicking the "Reset Cookies" button in the SOAtest preferences under Misc. Alternatively, you can also select the "Reset existing cookies before sending request" box in your client's HTTP transport options.

Sign In or Register to comment.