Software Testing Class

JMeter’s Distributed Testing – JMeter Tutorials Series Day 10

Distributed testing is a testing process, supports multiple systems to implement stress testing. Distributed testing is helpful to test those web sites and web server applications who work with multiple clients simultaneously. Learn more about JMeter’s Distributed Testing

Figure shows the client-server model of Distributes testing,

Distributed Testing in JMeter

Where,

Copy all JMeter folders to all slave machines. Installation of JMeter makes environment variables for JMETER_HOME and JMETER_BIN in all the slave machines (even on Master machine).

To perform stress testing on multiple systems, there are certain things to check,

Step-by-Step Testing Process

·        System configuration

·        Run the test

·        Troubleshooting

First Step: System configuration

Go to the slave systems -> jmeter/bin directory to execute “jmeter-server.bat”file.

On windows, a slave machine which belongs to 192.168.0.10 IP address, looks like the given below figure,

In the master systems, just visit /bin directory to edit jmeter.properties file, adds IP slave machine as shown below:

Second Step: Run the test

Open the test plan to run JMeter GUI, using the master machine.

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

Third Step: Troubleshooting

If you are unable to run the test and it returns error message, say administrator of the slave machine to run the jmeter-server.bat file, shown in the figure below.

Tips to Follow:

In some cases, Symantec Anti-Virus and Firewall blocks RMI traffic.

To stop Symantec firewall from windows services, go to the control panel – > administrative tools, double click services, find-out the Symantec antivirus, right click it to stop.

To stop window firewall, open network connections, choose the network connection, right click and select properties, select advanced tab and unchecked internet connection firewall.

Listener: Use “Aggregated Report” listener to see the aggregated report from your all host machine.

Limitations:

While proceeding, there are some limitations of distributed testing,


⇓ Subscribe Us ⇓


If you are not regular reader of this website then highly recommends you to Sign up for our free email newsletter!! Sign up just providing your email address below:


 

Check email in your inbox for confirmation to get latest updates Software Testing for free.


  Happy Testing!!!
 
Exit mobile version