2016-08-01 28 views
2
Jmeter 3.0 
jdk1.8.0_92 
jre1.8.0_92 

がエラーを取得: -のJMeter - 非HTTPレスポンスメッセージ:握手警告:スクリプトの実行中にunrecognized_name

Response message: Embedded resource download  
error:https://xxxx.xxxxx.com/search?client=special_srch_frontend code:Non HTTP response code: javax.net.ssl.SSLProtocolException message:Non HTTP response message: handshake alert: unrecognized_name, 

私がSNIでスクリプトを実行する場合 - その後、渡し以上、偽しかし、他のリダイレクト(302)が失敗しました。

どうすれば対応できますか?

答えて

2

あなたは、この追加のJavaシステムプロパティを使用してJMeterの実行してみました:-Djsse.enableSNIExtension=falseを使用して、jmeter.batでのJMeterを起動して、エラーを取得しない場合は

-Djsse.enableSNIExtension = falseを

+0

はい私はJmeterスクリプトを-Djsse.enableSNIExtension = falseで実行しています。いくつかの要求が正常に動作している間。しかし、いくつかは失敗し、SSL Hanshakeエラーを出します。 –

+0

SNIが無効になった後、別のドメインに関連するリソースが埋め込まれているそれらの要求に対してエラーを取得。 SNIドキュメントを読んで、私たちは無効または有効にする方法を理解することはできません - ランタイムの「Djsse.enableSNIExtensionを」特定のHTTP要求のために。このオプションを設定すると –

+0

は、エラーの詳細をyougive可能性があり、あなたはそれを設定していないとき? -Djsse.enableSNIExtensionを使用する場合は –

0

を -

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name 
at sun.security.ssl.ClientHandshaker.handshakeAlert(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 org.apache.jmeter.util.SlowOutputStream.write(SlowOutputStream.java:47) 
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$ASyncSample.call(HTTPSamplerBase.java:1958) 
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase$ASyncSample.call(HTTPSamplerBase.java:1926) 
at java.util.concurrent.FutureTask.run(Unknown Source) 
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
at java.util.concurrent.FutureTask.run(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source) 
+0

はこれに助けてください感謝を –

+0

私はまだ同じ問題に直面しています。誰でもこの上で私を助けてください –

関連する問題