0

Recorded Blazemeter scripts are not working in JMeter, getting following error message.

Response code: Non HTTP response code: java.net.SocketException Response message: Non HTTP response message: Software caused connection abort: recv failed

1 Answer 1

0

The error indicates that JMeter fails to receive the response most probably due to network error (connection has been terminated or timed out)

In order to get more information you should increase JMeter Logging verbosity for Apache HttpComponents by adding the next line to log4j2.xml file

<Logger name="org.apache.http" level="debug" />

it would also be a good idea to enable network debugging on Java level, it can be done by adding the next line to system.properties file:

javax.net.debug=all

and you should get way more information in jmeter.log file and STDOUT, this way you will get the error reason and would be able to handle it.

It worth also checking:

  • that your application is not overloaded as it might be the case the application cannot handle the load delivered by JMeter hence fails to respond properly
  • if you're absolutely sure that the application works normally and the problem is at JMeter end you can follow workarounds from JMeterSocketClosed wiki page
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.