Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

connection reset

kpatel49
kpatel49 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_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭
    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.

  • kpatel49
    kpatel49 Posts: 6

    it would have rejected for SOAPUI too, right?

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭
    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.