简体   繁体   中英

How a load will be distributed in distributed testing using jmeter?

I am having a requirement in which I need to perform a testing with 1000 users by setting up slave machines. So I just want to know from 1000 users how many users will be taken by slave machine?

Is there any way to find out how many users have been taken by masters and slaves or if jmeter itself automatically distributes a load?

JMeter slaves execute the Test Plan which is being sent to them by the master so if you define 1000 users under a Thread Group - each slave will kick off 1000 threads .

Looking into Distributed Testing documentation :

Note: The same test plan is run by all the servers. JMeter does not distribute the load between servers, each runs the full test plan. So if you set 1000 Threads and have 6 JMeter server, you end up injecting 6000 Threads.

so be careful and try to not overwhelm the application under test

Master doesn't produce any load, it just configures the slaves and collects results (unless you launch a slave process on the master as well)

More information: How to Perform Distributed Testing in JMeter

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