0

Jmeter 3.1でhttps要求を実行しようとしています。Jmeter 3.1- javax.net.ssl.SSLException:致命的警告を受信しました:protocol_version

enter image description here ただし、次のエラーが発生中です。

javax.net.ssl.SSLException: Received fatal alert: protocol_version 
at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
at sun.security.ssl.Alerts.getSSLException(Unknown Source) 
at sun.security.ssl.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.writeRecord(Unknown Source) 
at sun.security.ssl.AppOutputStream.write(Unknown Source) 
at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 
at java.io.BufferedOutputStream.flush(Unknown Source) 
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) 
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) 
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) 
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) 
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 
at org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.sample(HTTPHC3Impl.java:269) 
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) 
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1166) 
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1155) 
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:475) 
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:418) 
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249) 
at java.lang.Thread.run(Unknown Source) 

私たちは、次の解決方法を試してみましたが、問題を解決しdid't:

  1. は "jmeter.properties" ファイルに で提供
  2. しようとしましたソリューションを "https.default.protocol =のTLSv1" を追加http://rajanmanoj.blogspot.in/2011/02/how-to-test-ssl-using-jmeter.html このリンク

我々はJMeterの3.1、JavaのJDK 1.7を使用している、Windows 7の

答えて

0

これは、プロトコルバージョンの不一致によるものです。クライアントが使用するSSLプロトコルのバージョンとサーバーの間に不一致があります。

ご使用のシステムに最新バージョンのJavaとJMeterがインストールされていることを確認してください。 JMETER_HOME\binフォルダのセキュリティ証明書も確認してください。

詳しくはthis questionをご覧ください。

0

デフォルトのプロトコルは、JVMのバージョンによって異なる場合があります。 変更することができます。 jmeterのホームディレクトリに移動します。 jmeter.propertiesファイルを開きます。コメントを外す:

https.default.protocol=SSLv3 

変更後にjmeterを再起動する必要があるかもしれません。それについてはわからない。

関連する問題