jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Michaud <>
Subject Debugging a timeout problem
Date Tue, 31 Mar 2015 18:37:59 GMT
Hello all,
I am having a peculiar problem and I don't know how to approach it.
This is the scenario:  I run a very simple script that does a single GET page on an internal
server. My command to invoke JMeter includes the "-H proxyname -P portnumber -N *.ourdomainname",
 so I think I should be bypassing the proxy.

If I run this on a Linux box, it works just fine: I get the page I expected with a return
code 200.

If I run it on my Windows workstation I get the following error in the Sampler result:
Response code: Non HTTP response code: org.apache.http.conn.ConnectTimeoutException
Response message: Non HTTP response message: Connect to timed out
And I get this in the Response data:
                org.apache.http.conn.ConnectTimeoutException: Connect to
timed out
                at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
                at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(
                at org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$
                at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
                at org.apache.http.impl.client.DefaultRequestDirector.execute(
                at org.apache.http.impl.client.AbstractHttpClient.execute(
                at org.apache.http.impl.client.AbstractHttpClient.execute(
                at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(
                at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(
                at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(
                at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
                at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
                at org.apache.jmeter.threads.JMeterThread.process_sampler(
                at Source)
       Caused by: connect timed out
                at Method)
                at Source)
                at Source)
                at Source)
                at Source)
                at Source)
                at Source)
                at Source)
                at Source)
                at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
                ... 15 more

My JMeter is the same version on both Linux and Windows (2.12), with the same Java version
and build (1.7.0_21-b11). The and are also identical.
Of course Windows and Linux are two very different animals, but everything else being the
same, I don't know how to approach this problem.
I tried turning on the "DEBUG" options but that generates so much data that it is very hard
to decipher what's good and what's not.
Could anyone suggest how I can go about debugging this ? Maybe only specific "log_level.jmeter.??=DEBUG"
but I don't know which ones to pick.
Any other suggestions ?

Thanks & Regards,
Bruno Michaud

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message