All,

We're getting sporadic java.net.ConnectException on random embedded resource samples. The error doesn't always happen suggesting that the file we're requesting does exist on the server, and it when it does occur is isn't necessarily the same embedded resource from occurrence to occurrence. The message seems to be "Connection timed out: connect." I have included the exception stack trace as reported by a "View Results Tree" listener below.

Our client seems to think that this is the fault of JMeter, and I keep telling him that the exception is coming from deep inside Java. From what I can tell this exception is thrown from Java, caught by JMeter, and simply reported as an Error in the listeners. This is exactly how it seems JMeter should react. I'm assuming that there's an error at the server and the sampler simply times out while waiting for the server to respond.

Can anyone confirm my assumption?

Thanks,

Seth

----------------------------------------------

java.net.ConnectException: Connection timed out: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(Unknown Source)
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at sun.net.NetworkClient.doConnect(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.http.HttpClient.openServer(Unknown Source)
   at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
   at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(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.HTTPSampler.sample(HTTPSampler.java:457) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1044) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1253) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:537) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:889) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:875)
   at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
   at java.lang.Thread.run(Unknown Source)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to