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:

  1. switch "implementation" of http request samplers "httpclient4". best way using http request defaults have change value in 1 place.
  2. 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 
  3. add next line hc.parameters file (same location, /lib folder)

    http.connection.stalecheck$boolean=true  
  4. remember restart jmeter after making these changes, properties change not dynamic, they're being picked upon jmeter startup.

hope helps.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -