java - why getting socket closed error after running script by jmeter? -
i getting "non http response code: java.net.socketexception response message: non http response message: connection reset" type of error after running jmeter script
i bet you're experiencing problem described in connection reset since jmeter 2.10 ? wiki page
so recommend take next steps:
- switch "implementation" of http request samplers "httpclient4". best way using http request defaults have change value in 1 place.
as per wiki page add next 2 lines user.properties file (lives under /bin folder of jmeter installation)
httpclient4.retrycount=1 hc.parameters.file=hc.parameters
add next line hc.parameters file (same location, /lib folder)
http.connection.stalecheck$boolean=true
remember restart jmeter after making these changes, properties change not dynamic, they're being picked upon jmeter startup.
hope helps.
Comments
Post a Comment