apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.23k stars 2.08k forks source link

Cannot go to the system which has TLSv1.2 #3764

Closed asfimport closed 8 years ago

asfimport commented 8 years ago

TTD (Bug 58819): My test site is in TLSv1.2. Does Jmeter supports TLSv1.2? How do I add this? I am using JAVA 8 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)

Severity: blocker OS: All

asfimport commented 8 years ago

Sebb (migrated from Bugzilla): Bugzilla is not a support forum. Please subscribe to the JMeter User list and ask there.

asfimport commented 8 years ago

TTD (migrated from Bugzilla): Created attachment jmeter.log: jmeter.log file attached

jmeter.log ```` 2016/01/07 11:30:27 INFO - jmeter.util.JMeterUtils: Setting Locale to en_GB 2016/01/07 11:30:28 INFO - jmeter.JMeter: Loading user properties from: C:\Jmeter\bin\user.properties 2016/01/07 11:30:28 INFO - jmeter.JMeter: Loading system properties from: C:\Jmeter\bin\system.properties 2016/01/07 11:30:28 INFO - jmeter.JMeter: Copyright (c) 1998-2015 The Apache Software Foundation 2016/01/07 11:30:28 INFO - jmeter.JMeter: Version 2.13 r1665067 2016/01/07 11:30:28 INFO - jmeter.JMeter: java.version=1.7.0_60 2016/01/07 11:30:28 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM 2016/01/07 11:30:28 INFO - jmeter.JMeter: os.name=Windows 7 2016/01/07 11:30:28 INFO - jmeter.JMeter: os.arch=amd64 2016/01/07 11:30:28 INFO - jmeter.JMeter: os.version=6.1 2016/01/07 11:30:28 INFO - jmeter.JMeter: file.encoding=Cp1252 2016/01/07 11:30:28 INFO - jmeter.JMeter: Default Locale=English (United Kingdom) 2016/01/07 11:30:28 INFO - jmeter.JMeter: JMeter Locale=English (United Kingdom) 2016/01/07 11:30:28 INFO - jmeter.JMeter: JMeterHome=C:\Jmeter 2016/01/07 11:30:28 INFO - jmeter.JMeter: user.dir =C:\Jmeter\bin 2016/01/07 11:30:28 INFO - jmeter.JMeter: PWD =C:\Jmeter\bin 2016/01/07 11:30:28 INFO - jmeter.JMeter: IP: 192.168.0.5 Name: Thushari-PC FullName: Thushari-PC.Home 2016/01/07 11:30:28 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform] 2016/01/07 11:30:28 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2016/01/07 11:30:29 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2016/01/07 11:30:29 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2016/01/07 11:30:29 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 2016/01/07 11:30:30 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2016/01/07 11:30:30 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui 2016/01/07 11:30:30 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 2016/01/07 11:30:30 INFO - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre7\bin\keytool' 2016/01/07 11:30:30 INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Jmeter\bin\proxyserver.jks 2016/01/07 11:30:31 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 2016/01/07 11:30:31 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2016/01/07 11:30:31 INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 2016/01/07 11:30:31 INFO - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 2016/01/07 11:30:44 INFO - jmeter.services.FileServer: Default base='C:\Jmeter\bin' 2016/01/07 11:30:44 INFO - jmeter.gui.action.Load: Loading file: C:\JMETER TESTING\DIAMOND\TT\Login2.jmx 2016/01/07 11:30:44 INFO - jmeter.services.FileServer: Set new base='C:\JMETER TESTING\DIAMOND\TT' 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: Using SaveService properties file version 1656252 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: Using SaveService properties version 2.8 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: All converter versions present and correct 2016/01/07 11:30:44 INFO - jmeter.save.SaveService: Loading file: C:\JMETER TESTING\DIAMOND\TT\Login2.jmx 2016/01/07 11:30:44 INFO - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_ 2016/01/07 11:30:44 INFO - jmeter.services.FileServer: Set new base='C:\JMETER TESTING\DIAMOND\TT' 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2016/01/07 11:30:46 INFO - jmeter.samplers.SampleEvent: List of sample_variables: [] 2016/01/07 11:30:46 INFO - jmeter.samplers.SampleEvent: List of sample_variables: [] 2016/01/07 11:30:46 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error 2016/01/07 11:30:46 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false 2016/01/07 11:30:46 INFO - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties) 2016/01/07 11:30:46 INFO - jmeter.threads.JMeterThread: Running PostProcessors in forward order 2016/01/07 11:30:46 INFO - jmeter.threads.ThreadGroup: Started thread group number 1 2016/01/07 11:30:46 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started 2016/01/07 11:30:46 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2016/01/07 11:30:46 INFO - jmeter.protocol.http.sampler.HTTPJavaImpl: Maximum connection retries = 10 2016/01/07 11:30:46 INFO - jmeter.util.JsseSSLManager: Using default SSL protocol: TLS 2016/01/07 11:30:46 INFO - jmeter.util.JsseSSLManager: SSL session context: per-thread 2016/01/07 11:30:47 INFO - jmeter.util.SSLManager: JmeterKeyStore Location: type JKS 2016/01/07 11:30:47 INFO - jmeter.util.SSLManager: KeyStore created OK 2016/01/07 11:30:47 WARN - jmeter.util.SSLManager: Keystore file not found, loading empty keystore 2016/01/07 11:30:47 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1 2016/01/07 11:30:47 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1 2016/01/07 11:30:47 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2016/01/07 11:30:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*) ````
asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): AFAICT, you're having a timeout so nothing to do with HTTPS. But anyway please use user mailing list.

asfimport commented 8 years ago

TTD (migrated from Bugzilla): (In reply to Philippe Mouawad from comment 3)

AFAICT, you're having a timeout so nothing to do with HTTPS. But anyway please use user mailing list.

Is there a solution for that? Can you please provide the link for user mailing list.

asfimport commented 8 years ago

Rainer Jung (migrated from Bugzilla): http://jmeter.apache.org left menue Community / Mailing Lists

This will bring you to

http://jmeter.apache.org/mail.html

Read the page, undestand it and then follow the link to the mailing list addresses.