Hello guys!

I'm having a little trouble with JMeter. I have a test that make some HTTP GET on an url that serve an xml document (generated from a database).

But when running this test, I received this exception. And as it speak about JMeter on the stack trace, I'm quite sure that the problem doesn't come from my web app :)

Here is the ST:

   java.net.ConnectException: Connection refused: 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.http.HttpClient.<init>(Unknown Source)
       at sun.net.www.http.HttpClient.New(Unknown Source)
       at sun.net.www.http.HttpClient.New(Unknown Source)
       at
   sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
   Source)
       at
   sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
   Source)
       at
   
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:440)
       at
   
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
       at
   
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:849)
       at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
       at java.lang.Thread.run(Unknown Source)


Anybody have seen this before? Could you tell me more about this?

PS: the test was run in localhost, with 10 threads of 20 iterations, in the JMeter's GUI.

Thank you :)

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

Reply via email to