connection reset

kpatel49kpatel49 Posts: 6

When i run service in SOAPUI, i get success response .
Same service i run in SOATEST (Using same headers/certificate) , i get
**Error Message:
Connection reset

Additional Details:
A connection error has been detected. This may occur if a test has timed out while the client was
still attempting to send or receive data.**

i did add "<?xml version="1.0" encoding="UTF-8"?>" to the payload in soatest.

Comments

  • benken_parasoftbenken_parasoft Posts: 935 ✭✭✭
    edited November 2020

    You may need to check logs on the server side. Perhaps the service rejected the client's certificate and then closed the socket.

  • kpatel49kpatel49 Posts: 6

    it would have rejected for SOAPUI too, right?

  • benken_parasoftbenken_parasoft Posts: 935 ✭✭✭
    edited November 2020

    it would have rejected for SOAPUI too, right?

    Yes, so something must be different. You most likely have something configured differently. If SOAtest is sending exact same request as SoapUI then you wouldn't see your service behaving differently, unexpectedly closing the connection in one case and not the other.

    For example, it is common for services to simple close the connection if it doesn't like client certificate. The service isn't going to tell the client why but will simply close the connection. You may have to check logs from the service to check the reason why.

Sign In or Register to comment.