2017-02-20 46 views
0

我正在尝试使用SSL和https的网站进行加载测试。我使用badboy工具进行录制并将脚本保存在.jmx中。当我试图运行测试,它抛出错误:无法识别的SSL消息,明文连接?错误..当我尝试加载测试使用SSL的网站时

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取样器设置如下:

enter image description here

我是新来的JMeter可以在任何请解决我的问题。 在此先感谢

回答

相关问题