0

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 ? Commented Oct 1, 2021 at 11:38

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.