Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Response code:Non HTTP response code: javax.net.ssl.SSLHandshakeException Non HTTP response message: Received fatal alert: protocol_version

Ask Question

Getting this exception while executing the load test in Jmeter, I am using JMeter 5.4.1 and Java version 1.8 .

"Response code:Non HTTP response code: javax.net.ssl.SSLHandshakeException
Response message:Non HTTP response message: Received fatal alert: protocol_version"

. It will be a great help if you can figure out the solution.

The error indicates mismatch between SSL protocols used by the application you're testing and JMeter.

Check which protocol(s) does your server support using OpenSSL tool like:

openssl s_client -connect your-host:your-port

this way you see which SSL protocol is being used by your server, once you figure this out - you will be able to amend https.protocols Java system property or https.default.protocol / https.socket.protocols JMeter properties to match what does your server expect.

More information:

  • Debugging SSL/TLS Connections
  • Configuring JMeter
  • Apache JMeter Properties Customization Guide
  • Thanks a lot for guidance it was really helpful. I have checked with the server supported protocol and set it in the jmeter.properties file. – Siddhi Dec 29, 2021 at 12:45

    Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question. Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers.