【问题标题】:SSLHandshakeException Error in JmeterJmeter中的SSLHandshakeException错误
【发布时间】: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


【解决方案1】:

根据Recording HTTPS Traffic with JMeter's Proxy Server 指南,清除浏览器的历史记录应该会有所帮助。

【讨论】:

  • 我遇到了同样的错误,但清除浏览器的历史记录没有帮助。
猜你喜欢
  • 1970-01-01
  • 2021-07-15
  • 1970-01-01
  • 1970-01-01
  • 2013-05-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多