Wednesday 26 February 2014

LOAD DISTRIBUTION IN JMETER TEST PLAN

Distribute concurrent users using following Thread Groups
  1. Ultimate Thread Group
  2. Stepping Thread Group
  3. Throughput Controller
1.) Ultimate Thread Group



infinite number of schedule records
separate ramp-up time, shutdown time, flight time for each schedule record

Let’s configure Ultimate Thread Group as following:



2.) Stepping Thread Group:


preview graph showing estimated load (see example screen below)
initial thread group delay to combine several thread group activities
increase load by portions of threads (users) with ramp-up period
configurable hold time after all threads started
decrease load by portions

Following screenshot shows Stepping Thread Group set to generate load increasing by 10 users each 2 minutes:



3.) Throughput Controller:




The Throughput Controller allows the user to control how often it is executed. There are two modes – percent execution and total executions. Percent executions cause the controller to execute a certain percentage of the iterations through the test plan. Total executions cause the controller to stop executing after a certain number of executions have occurred. Like the Once Only Controller, this setting is reset when a parent Loop Controller restarts.

Load Distribution (Transaction-1)


Load Distribution (Transaction -2)


Load Distribution (Transaction -3)


Load Distribution (Transaction -4)


Load Distribution (Transaction -5)


Sample out

3 comments:

Unknown said...

Hi Ravi,
Good posting.
Could you let me know how to get the plugins for ultimate thread group and stepping thread group. Are these part of latest plugins?

Unknown said...

Hi how to use ultimate thread group and stepping thread group,

i was using this but cant get the result, can you please send me the screen shot of sample, using google sign in.

i followed this steps:

add jp@gc ultimate tread group,
under give the local host name,
then add listener , tree view

now run the grout, no responses.

can you please tell me the full screenshot of this test scenario.....

Unknown said...

Hi how to use ultimate thread group and stepping thread group,

i was using this but cant get the result, can you please send me the screen shot of sample, using google sign in.

i followed this steps:

add jp@gc ultimate tread group,
under give the local host name,
then add listener , tree view

now run the grout, no responses.

can you please tell me the full screenshot of this test scenario.....