【发布时间】:2015-05-23 15:26:09
【问题描述】:
我在录制 Jmeter 脚本时遇到此错误。
我已经在我的机器上安装了 JDK 1.7,但是它没有帮助。我收到以下错误消息:
javax.net.ssl.SSLHandshakeException:收到致命警报:sun.security.ssl.Alerts.getSSLException(Unknown Source)处 sun.security.ssl.Alerts.getSSLException(Unknown Source)处 sun.security.ssl 处的 handshake_failure .SSLSocketImpl.recvAlert(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)在 sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) 在 sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) 在 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)在 sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) 在 org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:487) 在 org.apache.jmeter.protocol。 http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) 在 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sa mple(HTTPSamplerBase.java:1105) 在 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094) 在 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)在 org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) 在 java.lang.Thread.run(Unknown Source)
【问题讨论】:
-
您是否尝试禁用 SNI? -Djsse.enableSNIExtension=false
标签: jmeter ssl-certificate performance-testing sslhandshakeexception