Running JMeter to Master & Slave machines, Slave is showing the script is started & finished, but at master showing "Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445", for this at master JMeter script execution not ended, so report and result not generated. Though this script only contains a HTTP Request with a single thread, for execution it only needs few seconds. I waited for couple of hours, but not got the result. How can i solve this problem?

for both Master & Slave machines I configured: install jdk1.8.0_271 & jmeter5.3

on "jmeter.properties" i added : server_port=4000, client.rmi.localport=4000, server.rmi.port=4000, server.rmi.localport=4000

on "user.properties" i added : server.rmi.port=9999, server.rmi.localport=4000

Master Server

Slave Server

1

There are 1 best solutions below

1
Dmitri T On
  1. Though this script only contains a HTTP Request with a single thread, for execution it only needs few seconds. - you're running it with 100 threads and 500 seconds ramp-up so it will run for 8 minutes at least (plus time required for the last user to execute the last iteration of the sampler)

  2. The fact that the slave cannot report the test finished event and the results back to the master means that the slave cannot properly communicate with the master

Assuming all above you need to open 2 ports in the slave, i.e.

  • 4000 for the SERVER_PORT
  • 5000 for the server.rmi.localport

and run your slave as jmeter-server -Dserver.rmi.localport=5000 -Dserver_port=4000 -Jclient.rmi.localport=4000

master should be executed as jmeter -Jclient.rmi.localport=4000

All the aforementioned ports must be opened in the firewall.

More information: