Jmeter load distribution

477 views Asked by At

How to emulate different loads from LG's for single thread group (i.e My First LG should emulate only 200 users, second LG should emulate 50users and my third LG should emulate 250 users)

IS it possible in Jmeter?

1

There are 1 answers

3
Dmitri T On BEST ANSWER

If you use distributed testing - you can take the following approach:

  1. Define number of virtual users in the Thread Group using __P() function as ${__P(users,)}
  2. On your load generator machines locate user.properties file (it lives in /bin folder of your JMeter installation) and add the following line to it:

    • users=200 - on the 1st LG
    • users=50 - on the 2nd LG
    • users=250 - on the 3rd LG
    • etc.

See Apache JMeter Properties Customization Guide for more information on JMeter properties and ways of setting and overriding them.