How to do master-slave configuration in JMeter?

Master-Slave configuration is a part of Distributed Testing in which more than one machine is used to perform load testing of the server under test.

It is very important that all machines are on the same network and all have the same version of JMeter. In distributed testing, one machine is made as the Master and the others are kept as slaves by doing some configurations.

The process is specified below:

  • On the master machine, edit the file and add the IP addresses of slave machines against the remote_host field in the file.
  • Save the file and open the JMeter again.
  • Now from the RUN menu in JMeter, select Remote Start and choose the IP of the machine to be invoked.
  • Choose RUN menu and select Remote Start all to start all the slave machines for your testing.