简体   繁体   中英

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

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:

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