You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by dileepa <di...@newgen.co.in> on 2009/10/28 06:57:19 UTC
Concurrent User from JMeter Slaves-Syncronization Timer
I have to run 200 concurrent users from two JMeter Slaves (100 threads from
each) such that 200 users first do login simultaneously, after completing
login, all 200 users should do next printing operation simultaneously.
To achieve this, I am using synchronization timer at my JMeter Master:
1.If I set synchronization timer for 100, it send 100-100 simultaneous users
in two bunches. It is not sending 200 simultaneous users in a single bunch.
2. If I set synchronization timer for 200, JMeter Master hangs.
Is there any way to run 200 simultaneous users from two or more JMeter
slaves?
If I try to run 200 users from single Jmeter with synchronization timer set
at 200, it gives following error in response to some login requests:
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)
Please help me out.
Regards,
Dileep
--
View this message in context: http://www.nabble.com/Concurrent-User-from-JMeter-Slaves-Syncronization-Timer-tp26089748p26089748.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Concurrent User from JMeter Slaves-Syncronization Timer
Posted by Deepak Shetty <sh...@gmail.com>.
hi
1. The synchronization timer does not work across slaves (or jvm's) as far
as I know so the master slave technique your trying wont do what you want
2. You cant set the timer for 200 threads when you only have 100 threads.
3. Various reasons why this might be so (your server may not be able to
handle these many connections, various servers set how many connections they
will handle , how much backlog they will accept , or the problem might be on
the client machine ). whats the full stack trace? also please check the
archives because different SocketExceptions have already been discussed
regards
deepak
On Tue, Oct 27, 2009 at 10:57 PM, dileepa <di...@newgen.co.in> wrote:
>
> I have to run 200 concurrent users from two JMeter Slaves (100 threads from
> each) such that 200 users first do login simultaneously, after completing
> login, all 200 users should do next printing operation simultaneously.
> To achieve this, I am using synchronization timer at my JMeter Master:
> 1.If I set synchronization timer for 100, it send 100-100 simultaneous
> users
> in two bunches. It is not sending 200 simultaneous users in a single bunch.
>
> 2. If I set synchronization timer for 200, JMeter Master hangs.
>
> Is there any way to run 200 simultaneous users from two or more JMeter
> slaves?
>
> If I try to run 200 users from single Jmeter with synchronization timer set
> at 200, it gives following error in response to some login requests:
>
> 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)
>
>
> Please help me out.
>
> Regards,
> Dileep
>
> --
> View this message in context:
> http://www.nabble.com/Concurrent-User-from-JMeter-Slaves-Syncronization-Timer-tp26089748p26089748.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>