You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Bhattacharya, Sudip" <su...@genpact.com> on 2010/05/20 16:50:42 UTC

How does remote testing distribute work?

I am setting up a 500 user test script, where 500 users are distributed in 5 thread groups(5 separate use cases) of 100 users each.
TestPlan
---TG1 (100users)
---TG2 (100users)
---TG3 (100users)
---TG4 (100users)
---TG5 (100users)

I have 5 remote servers configured in my jmeter properties to distribute my load on, and I have also registered my locahost ip. So RemoteStart menu displays 6 servers.
So the list looks like:
1.       localhost
2.       LoadGenSvr1
3.       LoadGenSvr2
4.       LoadGenSvr3
5.       LoadGenSvr4
6.       LoadGenSvr5

If I click on Remote Start All now, how will JMeter distribute the load on these 6 Load Generating nodes?

1.       Will it execute the whole script on all 6 nodes - 500 users on each node = 500*6 = 3000 user load emulated on target server?
2.       Will it execute 1/6 of 500 users on each of the 6 nodes, so that the total load emulated on the target server stays 500 users?
3.       Is there a way to set affinity of threadgroups to remoteservers, so that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?

Please help me understand.

______________________________
Sudip Kumar Bhattacharya, PMP
Senior Principal Consultant, BPM Track, Products Org
Genpact, Delhi, India

C +91 98995 16992
E sudip.bhattacharya@genpact.com<ma...@genpact.com>
www.genpact.com<http://www.genpact.com/>



This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.


Re: How does remote testing distribute work?

Posted by sebb <se...@gmail.com>.
On 21/05/2010, Bhattacharya, Sudip <su...@genpact.com> wrote:
> Ok.. So in this case you are saying that it will put a load of 500*6=3000 users on the server?

Yes - assuming that the thread groups are not set to run
consecutively, and assuming that they run for long enough that all
threads are active together.

>  Will the data collection reflect this total number on the controller jmeter machine (in the grpThreads or allThreads columns in the reports)?
>

Yes. Try it and see (start with a much smaller number of threads).

>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Thursday, May 20, 2010 8:59 PM
>  To: JMeter Users List
>  Subject: Re: How does remote testing distribute work?
>
>  In JMeter client-server mode, the JMeter client sends the same test
>  plan to ALL the servers which all run the same plan.
>
>  It does not do any load distribution or balancing.
>
>  On 20/05/2010, Bhattacharya, Sudip <su...@genpact.com> wrote:
>  > I am setting up a 500 user test script, where 500 users are distributed in 5 thread groups(5 separate use cases) of 100 users each.
>  >  TestPlan
>  >  ---TG1 (100users)
>  >  ---TG2 (100users)
>  >  ---TG3 (100users)
>  >  ---TG4 (100users)
>  >  ---TG5 (100users)
>  >
>  >  I have 5 remote servers configured in my jmeter properties to distribute my load on, and I have also registered my locahost ip. So RemoteStart menu displays 6 servers.
>  >  So the list looks like:
>  >  1.       localhost
>  >  2.       LoadGenSvr1
>  >  3.       LoadGenSvr2
>  >  4.       LoadGenSvr3
>  >  5.       LoadGenSvr4
>  >  6.       LoadGenSvr5
>  >
>  >  If I click on Remote Start All now, how will JMeter distribute the load on these 6 Load Generating nodes?
>  >
>  >  1.       Will it execute the whole script on all 6 nodes - 500 users on each node = 500*6 = 3000 user load emulated on target server?
>  >  2.       Will it execute 1/6 of 500 users on each of the 6 nodes, so that the total load emulated on the target server stays 500 users?
>  >  3.       Is there a way to set affinity of threadgroups to remoteservers, so that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?
>  >
>  >  Please help me understand.
>  >
>  >  ______________________________
>  >  Sudip Kumar Bhattacharya, PMP
>  >  Senior Principal Consultant, BPM Track, Products Org
>  >  Genpact, Delhi, India
>  >
>  >  C +91 98995 16992
>  >  E sudip.bhattacharya@genpact.com<ma...@genpact.com>
>  >  www.genpact.com<http://www.genpact.com/>
>  >
>  >
>  >
>  >  This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
>  >  by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
>  >  contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
>  >  by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.
>  >
>  >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>  This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
>  by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
>  contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
>  by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


RE: How does remote testing distribute work?

Posted by "Bhattacharya, Sudip" <su...@genpact.com>.
Ok.. So in this case you are saying that it will put a load of 500*6=3000 users on the server?

Will the data collection reflect this total number on the controller jmeter machine (in the grpThreads or allThreads columns in the reports)?

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Thursday, May 20, 2010 8:59 PM
To: JMeter Users List
Subject: Re: How does remote testing distribute work?

In JMeter client-server mode, the JMeter client sends the same test
plan to ALL the servers which all run the same plan.

It does not do any load distribution or balancing.

On 20/05/2010, Bhattacharya, Sudip <su...@genpact.com> wrote:
> I am setting up a 500 user test script, where 500 users are distributed in 5 thread groups(5 separate use cases) of 100 users each.
>  TestPlan
>  ---TG1 (100users)
>  ---TG2 (100users)
>  ---TG3 (100users)
>  ---TG4 (100users)
>  ---TG5 (100users)
>
>  I have 5 remote servers configured in my jmeter properties to distribute my load on, and I have also registered my locahost ip. So RemoteStart menu displays 6 servers.
>  So the list looks like:
>  1.       localhost
>  2.       LoadGenSvr1
>  3.       LoadGenSvr2
>  4.       LoadGenSvr3
>  5.       LoadGenSvr4
>  6.       LoadGenSvr5
>
>  If I click on Remote Start All now, how will JMeter distribute the load on these 6 Load Generating nodes?
>
>  1.       Will it execute the whole script on all 6 nodes - 500 users on each node = 500*6 = 3000 user load emulated on target server?
>  2.       Will it execute 1/6 of 500 users on each of the 6 nodes, so that the total load emulated on the target server stays 500 users?
>  3.       Is there a way to set affinity of threadgroups to remoteservers, so that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?
>
>  Please help me understand.
>
>  ______________________________
>  Sudip Kumar Bhattacharya, PMP
>  Senior Principal Consultant, BPM Track, Products Org
>  Genpact, Delhi, India
>
>  C +91 98995 16992
>  E sudip.bhattacharya@genpact.com<ma...@genpact.com>
>  www.genpact.com<http://www.genpact.com/>
>
>
>
>  This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
>  by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
>  contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
>  by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.
>
>

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

This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.


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


Re: How does remote testing distribute work?

Posted by sebb <se...@gmail.com>.
In JMeter client-server mode, the JMeter client sends the same test
plan to ALL the servers which all run the same plan.

It does not do any load distribution or balancing.

On 20/05/2010, Bhattacharya, Sudip <su...@genpact.com> wrote:
> I am setting up a 500 user test script, where 500 users are distributed in 5 thread groups(5 separate use cases) of 100 users each.
>  TestPlan
>  ---TG1 (100users)
>  ---TG2 (100users)
>  ---TG3 (100users)
>  ---TG4 (100users)
>  ---TG5 (100users)
>
>  I have 5 remote servers configured in my jmeter properties to distribute my load on, and I have also registered my locahost ip. So RemoteStart menu displays 6 servers.
>  So the list looks like:
>  1.       localhost
>  2.       LoadGenSvr1
>  3.       LoadGenSvr2
>  4.       LoadGenSvr3
>  5.       LoadGenSvr4
>  6.       LoadGenSvr5
>
>  If I click on Remote Start All now, how will JMeter distribute the load on these 6 Load Generating nodes?
>
>  1.       Will it execute the whole script on all 6 nodes - 500 users on each node = 500*6 = 3000 user load emulated on target server?
>  2.       Will it execute 1/6 of 500 users on each of the 6 nodes, so that the total load emulated on the target server stays 500 users?
>  3.       Is there a way to set affinity of threadgroups to remoteservers, so that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?
>
>  Please help me understand.
>
>  ______________________________
>  Sudip Kumar Bhattacharya, PMP
>  Senior Principal Consultant, BPM Track, Products Org
>  Genpact, Delhi, India
>
>  C +91 98995 16992
>  E sudip.bhattacharya@genpact.com<ma...@genpact.com>
>  www.genpact.com<http://www.genpact.com/>
>
>
>
>  This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
>  by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
>  contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
>  by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.
>
>

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