You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by To...@txb.de on 2006/02/01 10:52:50 UTC

Connection refused

Hi together,
 
today I want to start my test with 30 threads but I get for 4 threads this
exception.
 
java.net.ConnectException: Connection refused: connect at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137) at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at 
java.net.Socket. (Socket.java:268) at 
java.net.Socket. (Socket.java:95) at
sun.net.NetworkClient.doConnect(NetworkClient.java:45) at 
sun.net.www.http.HttpClient.openServer(HttpClient.java:334) at 
sun.net.www.http.HttpClient.openServer(HttpClient.java:520) at 
sun.net.www.http.HttpClient. (HttpClient.java:270) at
sun.net.www.http.HttpClient. (HttpClient.java:280) at 
sun.net.www.http.HttpClient.New(HttpClient.java:292) at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4
17) at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
424) at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
se.java:514) at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
se.java:503) at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at
java.lang.Thread.run(Thread.java:479)

 
Does anybody knows what´s the reason for this exception?
 
Regards Torsten


******************************************************************
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum 
Informationsaustausch. Wir koennen auf diesem Wege keine 
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen 
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in 
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange 
of information. We do not accept legally binding declarations (orders, 
etc.) by this means of communication. The contents of this message is 
confidential and intended only for the recipient indicated. Taking 
notice of this message or disclosure by third parties is not 
permitted. In the event that this message is not intended for you, 
please contact us via E-mail or phone.

******************************************************************


Re: Connection refused

Posted by sebb <se...@gmail.com>.
MOst likely the server cannot handle the additional connection, or the
connections are being created too quickly - try increasing ramp-up
time

On 01/02/06, Torsten.Frehe@txb.de <To...@txb.de> wrote:
> Hi together,
>
> today I want to start my test with 30 threads but I get for 4 threads this
> exception.
>
> java.net.ConnectException: Connection refused: connect at
> java.net.PlainSocketImpl.socketConnect(Native Method) at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137) at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at
> java.net.Socket. (Socket.java:268) at
> java.net.Socket. (Socket.java:95) at
> sun.net.NetworkClient.doConnect(NetworkClient.java:45) at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:334) at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:520) at
> sun.net.www.http.HttpClient. (HttpClient.java:270) at
> sun.net.www.http.HttpClient. (HttpClient.java:280) at
> sun.net.www.http.HttpClient.New(HttpClient.java:292) at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4
> 17) at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
> 424) at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
> se.java:514) at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
> se.java:503) at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at
> java.lang.Thread.run(Thread.java:479)
>
>
> Does anybody knows what´s the reason for this exception?
>
> Regards Torsten
>
>
> ******************************************************************
> Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum
> Informationsaustausch. Wir koennen auf diesem Wege keine
> rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
> Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen
> Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
> durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
> sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in
> Verbindung zu setzen.
>
> Please use your E-mail connection with us exclusively for the exchange
> of information. We do not accept legally binding declarations (orders,
> etc.) by this means of communication. The contents of this message is
> confidential and intended only for the recipient indicated. Taking
> notice of this message or disclosure by third parties is not
> permitted. In the event that this message is not intended for you,
> please contact us via E-mail or phone.
>
> ******************************************************************
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org