1
votes

I'm using JMeter distributed testing for load testing. The problem is the client gets stopped immediately after starting it. Don't know why.

Can anybody help me in this problem?

1
Mention the steps you have done so far. Otherwise, it's impossible to Pinpoint the root cause of your problem.Masud Jahan
1) Started jmeter in one system (both jmeter.bat and jmeter-server.bat) and made that system as server 2) Then started jmeter in another system (both jmeter.bat and jmeter-server.bat) and made that system as client 3) updated the remote host ip in the properties file in server system with the ip of the client system 4)Then started the remote clientAmrutha

1 Answers

4
votes

You can follow these steps:

  1. Start only jmeter-server.bat from the slave machines. (no need to run both jmeter.bat and jmeter-server.bat)

  2. Configure jmeter.properties file of the master machine as follows:

Remote Hosts - comma delimited

remote_hosts=xxx.xxx.xxx.xxx (IP of your slave machines)

  1. Start jmeter.bat from client(master) machine.

  2. Now you can run your test from GUI mode to check everything is okay or not.

To do this: Run->Remote start-> check the IP's of slaves. (if its in there you are ready to run your test remotely).

Pre-requisites:

  1. All the machines (both master and slaves) must be in the same subnet.
  2. Firewall must be turned off for all machines.

  3. Java and JMeter versions must be same for all machines.

For more details, you should read JMeter Distributed Testing Step-by-step.