Saturday, October 21, 2017

How to Perform Distributed Testing Using JMeter




JMeter is having some limitations while running the load testing from the single machine. So that we are using "Distributed Testing" for Load/Performance Testing . i.e) Master(Controller) and Slave (Load Generator) configuration.Here we can add many slaves and can generate more .



Note: If configuration is not done properly , then it may give wrong results or may not run properly.

There are some prerequisites should be done before starting distributed load testing.

1) Firewalls on the master and slave systems should be turned off.
2) The systems should be in the same subnet.
3) Make sure JMeter can access the servers.
4) Same version of JMeter should be installed in master and slave systems.

Now do the steps to start the Distributed load testing .

Step 1: Go to jmeter.properties > Open it.
Step 2: Search for "remote_hosts" in that file .
Step 3: Add the Slave IP's in that remote_hosts.



After that start the jmeter-server.bat in all the master and slave machines.

Then run the JMeter , by clicking the jmeter.bat(or)ApacheJMeter.jar file and goto Run > Remote Start.Where you can see the Slaves IP Address.



Thanks ,

A M Balaji

No comments:

Post a Comment