Ask a Question

Connection reset

SOLVED
msalvador
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

1 ACCEPTED SOLUTION

Accepted Solutions
msalvador
Contributor

Re: Connection reset

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.

View solution in original post

5 REPLIES 5
mattb
Staff

Re: Connection reset

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
Contributor

Re: Connection reset

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
Staff

Re: Connection reset

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
Contributor

Re: Connection reset

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.

View solution in original post

mattb
Staff

Re: Connection reset

Awesome! 

cancel
Showing results for 
Search instead for 
Did you mean: