Hi, We have a simple jmeter scripts with HTTP request sampler. The script was created in my local machine and i have tried a test with 30 users which is working fine. However, when I run this test with even 5 user on the client machine , which is on client network I get java.net.SocketTimeoutException - in Jmeter
The machine where I try to execute this test is a Linux Machine & I have done a curl for application URL which is successfull, so application accessibilty issues from the machine is ruled out. Any pointers on where I should start looking to debug the causes. These are the log details 2018-01-16 06:06:17,519 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2018-01-16 06:06:17,519 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2018-01-16 06:06:17,519 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2018-01-16 06:06:17,519 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2018-01-16 06:06:17,520 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2018-01-16 06:06:17,520 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 2018-01-16 06:06:17,691 INFO o.a.j.e.KeyToolUtils: keytool found at 'keytool' 2018-01-16 06:06:17,692 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file /home/loadtest/apache-jmeter-3.3/bin/proxyserver.jks 2018-01-16 06:06:17,698 INFO o.a.j.JMeter: Creating summariser <summary> 2018-01-16 06:06:17,708 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2018-01-16 06:06:17,709 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2018-01-16 06:06:17,709 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2018-01-16 06:06:17,712 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2018-01-16 06:06:17,713 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2018-01-16 06:06:18,127 INFO o.a.j.JMeter: Running test (1516082778127) 2018-01-16 06:06:18,170 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : suraj 2018-01-16 06:06:18,170 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group suraj. 2018-01-16 06:06:18,170 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error 2018-01-16 06:06:18,170 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=0 perThread=0.0 delayedStart=false 2018-01-16 06:06:18,175 INFO o.a.j.t.ThreadGroup: Started thread group number 1 2018-01-16 06:06:18,175 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2018-01-16 06:06:18,177 INFO o.a.j.t.JMeterThread: Thread started: suraj 1-1 2018-01-16 06:06:18,187 INFO o.a.j.p.h.s.HTTPJavaImpl: Maximum connection retries = 0 2018-01-16 06:06:18,188 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times 2018-01-16 06:06:18,188 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2018-01-16 06:06:18,188 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true 2018-01-16 06:06:18,188 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000 2018-01-16 06:06:18,191 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS 2018-01-16 06:06:18,191 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread 2018-01-16 06:06:18,279 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: truststore.jks type JKS 2018-01-16 06:06:18,282 INFO o.a.j.u.SSLManager: KeyStore created OK 2018-01-16 06:06:18,288 ERROR o.a.j.u.SSLManager: Problem loading keystore: No key(s) found java.io.IOException: No key(s) found at org.apache.jmeter.util.keystore.JmeterKeyStore.load(JmeterKeyStore.java:152) ~[ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:133) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.util.JsseSSLManager.createContext(JsseSSLManager.java:219) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:181) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.util.HttpSSLProtocolSocketFactory.getSSLSocketFactory(HttpSSLProtocolSocketFactory.java:100) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.util.HttpSSLProtocolSocketFactory.createSocket(HttpSSLProtocolSocketFactory.java:122) [ApacheJMeter_core.jar:3.3 r1808647] at sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:405) [?:1.8.0_72] at sun.net.NetworkClient.doConnect(NetworkClient.java:162) [?:1.8.0_72] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) [?:1.8.0_72] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) [?:1.8.0_72] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) [?:1.8.0_72] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) [?:1.8.0_72] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) [?:1.8.0_72] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) [?:1.8.0_72] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) [?:1.8.0_72] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) [?:1.8.0_72] at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) [?:1.8.0_72] at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:508) [ApacheJMeter_http.jar:3.3 r1808647] at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) [ApacheJMeter_http.jar:3.3 r1808647] at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189) [ApacheJMeter_http.jar:3.3 r1808647] at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1178) [ApacheJMeter_http.jar:3.3 r1808647] at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424) [ApacheJMeter_core.jar:3.3 r1808647] at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255) [ApacheJMeter_core.jar:3.3 r1808647] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] -- With Regards, Bincy Suresh
