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, 자바 JDK 1.7를 사용하고, 윈도우 7

답변

0

이것은 프로토콜 버전 불일치로 인해 크게 발생합니다. 클라이언트와 서버에서 사용하는 SSL 프로토콜 버전이 일치하지 않습니다.

최신 버전의 Java 및 JMeter가 시스템에 설치되어 있는지 확인하십시오. JMETER_HOME\bin 폴더의 보안 인증서도 확인하십시오.

자세한 내용은 this question을 확인하십시오.

0

Https 기본 프로토콜은 JVM 버전에 따라 달라질 수 있습니다. 변경할 수 있습니다. jmeter 홈 디렉토리로 이동하십시오. jmeter.properties 파일을 엽니 다. 주석 처리 해제 라인 :

https.default.protocol=SSLv3 

변경 후 jmeter를 다시 시작해야 할 수도 있습니다. 확실하지 않습니다.

관련 문제