0
votes

I am executing a load test in jmeter. My request is to run 4 API in parallel so i am using parallel controller in jmeter, but during execution i am intermittenly getting below two response from jmeter in each run

  1. "Non HTTP response code: org.apache.http.NoHttpResponseException"
  2. "Response code:Non HTTP response code: javax.net.ssl.SSLException Response message:Non HTTP response message: java.net.SocketException: Connection reset" Please any suggestion will be welcome. I have increased the Tcpip port to 65536.
1
Can you please uncheck the "Keep Alive" flag in the HTTP Request and run the test again ? - Janesh Kodikara

1 Answers

0
votes

You need to identify the root cause of the issue, in order to do this you need to:

  1. Enable debugging of SSL connections in Java, add the next line to system.properties file:

    javax.net.debug=all
    
  2. Enable debug logging for JMeter SSL components, add the next lines to log4j2.xml file:

    <Logger name="org.apache.jmeter.util.HttpSSLProtocolSocketFactory" level="debug" />
    <Logger name="org.apache.jmeter.util.JsseSSLManager" level="debug" />
    <Logger name="org.apache.http" level="debug" />
    

This way you will get way more information in STDOUT and jmeter.log file which could be analyzed.