Tool - JMeter, version 5.1.1

I am testing an application with API request and I am getting an error: javax.net.ssl.SSLHandshakeException for load test.

This issue occurs when I try to execute only load test with number of users simultaneously.
I have had a word with the Dev team and as per them there is no issue from server side configuration.

Can anyone help me resolve this issue. Appreciate quick feedback.

1 Answer 1


Establishing an SSL session is a resource intensive process, you might want to check whether your server is overloaded, it might me the case it lacks resources like CPU, RAM, etc. when you put the load onto it hence it fails to respond to the handshake in a timely fashion.

You could consider using i.e. JMeter PerfMon Plugin to ensure that the server (and JMeter as well) have enough headroom to operate in terms of CPU, RAM, Disk, Network, etc. cause it might cause the problem

If the server/JMeter is/are not overloaded but you still experience the issue you can temporary enable debugging of SSL events by adding the next line to system.properties file (lives in "bin" folder of your JMeter installation)


JMeter restart will be required to pick the property up, once you restart JMeter and run your test you should see a lot of SSL-related information in the stdout.

More information: Java Secure Socket Extension (JSSE) Reference Guide

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.