Ask a Question

Connection reset

SOLVED
msalvador
Frequent Contributor

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

5 REPLIES 5
mattb
Staff

Hi,

When you are executing via TestRunner is that inside or outside of the ReadyAPI console?

I would recommend trying to execute the testrunner and launch from local to ReadyAPI first. 

https://support.smartbear.com/readyapi/docs/functional/running/automating/gui.html

 

 

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

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?


msalvador
Frequent Contributor

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.

Awesome! 

cancel
Showing results for 
Search instead for 
Did you mean: