简体   繁体   中英

Jmeter load distribution

How to emulate different loads from LG's for single thread group (ie 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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM