Forum Discussion

msalvador's avatar
msalvador
Frequent Contributor
4 years ago

Connection reset

Hi guys,

I got this problem:

ERROR [errorlog] java.net.SocketException: Connection reset

java.net.SocketException: Connection reset
at sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) ~[?:?]
at sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) ~[?:?]
at sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) ~[?:?]
at java.net.Socket$SocketInputStream.read(Socket.java:976) ~[?:?]

 

This happen when I execute my test cases with Testrunner, I have 71 test cases and starting from 56 I had this problem, if I run manually the Test case I haven't problems

  • Hi,

    I use basic auth, but token don't need to be refreshed.

    Yes I use DB connections.

    However I discovered the issue, my test suite could store/run max 50 test cases, I figure out this problem adding and cutting test cases into the suite.

    • msalvador's avatar
      msalvador
      Frequent Contributor

      Hi mattb,

      thank you for the reply, both I run inside readyapi, in command line and in jenkins, I receive same errors in all the ways

      • mattb's avatar
        mattb
        Staff

        Hi,

        It could be a few different things. Are you using Auth in your testcases, maybe the token needs to be refreshed through the execution. 

        Are you using any local datasources, or data sources in general?