Jmeter issues with TLSv1.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jmeter issues with TLSv1.2

Thushari Diyagama
My test site is configured to work with TLSv1.2. Does Jmeter supports
TLSv1.2? How do I configure this? I am using JAVA 7 and Jmeter V2.13.
I am getting below errors just before the login page.

java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at sun.security.ssl.InputRecord.readFully(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:483)
        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.process_sampler(JMeterThread.java:434)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
        at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: Jmeter issues with TLSv1.2

glinius@live.com
This post has NOT been accepted by the mailing list yet.
Try out adding the next line:

https.default.protocol=TLSv1
to user.properties file and restart JMeter - it will switch default HTTPS protocol to TLSv1.

See http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=reply&node=5723619 and Apache JMeter Properties Customization Guide for more information.

Reply | Threaded
Open this post in threaded view
|

Re: Jmeter issues with TLSv1.2

Ramprasad Golla
This post has NOT been accepted by the mailing list yet.
In reply to this post by Thushari Diyagama