Jmeter Distributed (Remote) Testing: Master Slave Configuration

What is Distributed Testing?

Distributed Testing is a kind of testing which use multiple systems to perform Stress Testing. Distributed testing is applied for testing websites and server applications when they are working with multiple clients simultaneously.

Distributes testing uses client-server model as the figure below:

How to perform Distributed Testing in JMeter

Remote Test Example

Precondition:

Here is the roadmap for this testing:

Setup slave systems, go to jmeter/bin directory and execute file "jmeter-server.bat".

Assume that a slave machine has IP address: 192.168.0.10. On windows, you should see a window appear like the following figure:

How to perform Distributed Testing in JMeter

On the master systems, go to /bin directory and edit file jmeter.properites, add IP slave machine as below

At this point, you are ready to start load testing. On the master machine, run JMeter GUI and open the test plan.

Click Run on the menu bar; select Remote start -> select the IP address of slave machine

If you are unable to run test form the above machine and see below error, simply ask an owner of a slave machine to run the JMeter-server.bat File.

YOU MIGHT LIKE: