简体   繁体   中英

Jmeter java.net.SocketException: Connection reset

I am running only 1 request, the request is working good in other machines but my Jmeter is returning Response code: Non HTTP response code: javax.net.ssl.SSLException

javax.net.ssl.SSLException: java.net.SocketException: Connection reset

I have tried in both versions: 4.2 and 5.3

The reasons could be numerous, we need to know more in order to be able to come up with the comprehensive solution. The same machines in terms of operating system/networking setup with the same Java version should behave the same way.

What you could try is:

  1. Enabling Java Network debugging by adding javax.net.debug=all line to system.properties file (lives in "bin" folder of your JMeter installation
  2. Enabling JMeter Network debugging by adding <Logger name="org.apache.http" level="debug" /> to log4j2.xml file (the same location, JMeter's "bin" folder)

Upon JMeter restart you will be able to see much more troubleshooting information in jmeter.log file and in stdout , compare the output from your machine with one of the machines where the test succeeds, it should give you some insights.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM