Reputation: 11
Is there any configuration available for Master to divide the load between the slaves?
Actually my test has many scripts with odd and even number of threads in it, for e.g. Script_1 = 15 users, Script_2 = 14 users etc.
So it will be difficult to set the number of threads or slaves. Please suggest.
Upvotes: 1
Views: 595
Reputation: 168072
It is
${__P(threads,)}
In user.properties file (lives under "bin" folder of JMeter installation) on each slave node define "threads" property like:
threads=14
- for slave 1threads=15
- for slave 2You can also pass the property via -J
command line option like:
jmeter-server.bat -Jthreads=15
See Apache JMeter Properties Customization Guide for more information on different JMeter properties types and ways of setting and overriding them
Upvotes: 1