简体   繁体   中英

Getting javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version from API response while running using jmeter

When I try to run an API for pressure testing using JMeter, I am getting this Java exeption:

javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version

I have tried changing the SSL version in the JMeter properties file, but I still see same issue.

First of all you need to determine the reason of the problem, it can be done by adding the next line to system.properties file:

javax.net.debug=all

after JMeter restart look at the stdout and inspect which protocol(s) and cipher suite(s) are being used for the SSL handshake.

Depending on the outcome you may need to amend https.default.protocol and/or https.socket.protocols in user.properties file. If you're still at JDK 8 you might need to download Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files

References:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM