Reputation: 11
I am getting "Non HTTP response code: java.net.SocketException Response message: Non HTTP response message: Connection reset" this type of error after running jmeter script
Upvotes: 1
Views: 8088
Reputation: 168022
I bet that you're experiencing the problem described in Connection Reset since JMeter 2.10 ? wiki page
So I would recommend to take the next steps:
As per the wiki page add the next 2 lines to user.properties file (lives under /bin folder of your JMeter installation)
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
Add the next line to hc.parameters file (same location, /lib folder)
http.connection.stalecheck$Boolean=true
Remember to restart JMeter after making these changes, properties change is not dynamic, they're being picked up upon JMeter startup.
Hope this helps.
Upvotes: 3