Exception 无法识别的SSL消息,纯文本连接?错误..当我尝试对使用SSL的网站进行负载测试时

Exception 无法识别的SSL消息,纯文本连接?错误..当我尝试对使用SSL的网站进行负载测试时,exception,jmeter,Exception,Jmeter,我正在尝试在使用SSL和https的网站上进行负载测试。我使用badboy工具进行录制,并将脚本保存在.jmx中。当我尝试运行测试时,它会抛出错误: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.InputRecord.handleUnknownRecord(Unknown Source) at sun.security.ssl.InputReco

我正在尝试在使用SSL和https的网站上进行负载测试。我使用badboy工具进行录制,并将脚本保存在.jmx中。当我尝试运行测试时,它会抛出错误:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext   connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(Unknown Source)
at sun.security.ssl.InputRecord.read(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)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at   sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:482)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1135)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:465)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:410)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:241)
at java.lang.Thread.run(Unknown Source)
http采样器设置如下:

我是Jmeter的新手,请解决我的问题。
提前感谢

您收到的错误意味着您正在尝试与服务器建立安全(HTTPS)连接,该服务器不使用任何加密,并以普通HTML响应

我无法再现您的问题,因此我建议使用以下方法之一记录您的测试场景: