Error Message: Connection reset

ptlk6789ptlk6789 Posts: 5

when i run a POST call in SOATest, i get **"Error Message: Connection reset" **

same request will work in postman. so i am using same info i am using in postman.

Tagged:

Comments

  • benken_parasoftbenken_parasoft Posts: 789 ✭✭✭

    "Connection reset" means the socket was unexpectedly closed. The server side may do that if it encounters some issue, like if it can't process the request from the client.

    I recommend comparing the exact HTTP message you are sending with SOAtest and compare that with the exact HTTP message your are sending with postman. Compare both HTTP header and HTTP body side-by-side. If you are seeing different behavior then there must be something different in the request being sent.

  • ptlk6789ptlk6789 Posts: 5

    I am using exact same URL/Headers/Body. I copied all info from POSTMAN and pasted in SOATest.

    still getting same issue.

  • benken_parasoftbenken_parasoft Posts: 789 ✭✭✭

    I copied all info from POSTMAN and pasted in SOATest.

    Please check first line, including HTTP version. Also, some HTTP headers must be auto-generated or may have dynamic values, like Content-Length or Authorization.

    still getting same issue

    You probably need to check logs on the server side. It sounds like the server couldn't process the request for some reason and decided to close the socket as opposed to returning an error message in an HTTP response. It knows the reason why it did this and may have logged something.

Sign In or Register to comment.