I have set up the environment as below
- All Servers have same version of jre.
- All Servers have same version of jmeter.
- All servers are in same subnet (x.x.x.227,x.x.x.228,x.x.x.229,x.x.x.230) with public IP.
- The firewalls on the systems are turned off
I have configured the below settings in master
In /bin directory I have edited the file jmeter.properties, added IP slave machine as below:
Remote hosts and RMI configuration:
remote_hosts=127.0.0.1(default in jmeter),x.x.x.227, x.x.x.228, x.x.x.229
RMI port to be used by the server (must start rmiregistry with same port)
server_port=1099
I have done the below Configuration in slave machines
- Added the following to server (Slave) jmeter.properties:
On the server(s)
set server_port=1234 start rmiregistry with port 1234
Once the configuration part is done
- Started jmeter server in slave systems using following command ./jmeter-server -Djava.rmi.server.hostname=xxx.xxx.xxx.227 (slave IP)
- Now started the Jmeter engine on Master(x.x.x.230).
- Started Jmeter on master machine (GUI)
- Created test plan--> (added tread group , samplers and required listners)
- Started jmeter test script with following command jmeter -n -t test.jmx -R x.x.x.227 -l test1.jtl
After that the message 'Waiting for possible shutdown message on port 4445' appears and I am suck here. test1.jtl file is also not created and I don't see any responses.
Meanwhile I get the below response in slave server Starting the test on host x.x.x.227 @ Wed Mar 29 11:10:24 IST 2017 (1490766024242) Finished the test on host x.x.x.227 @ Wed Mar 29 11:10:32 IST 2017 (1490766032637)
It's visible from above that the test session lasted for 8-9 seconds and it always the same for any duration that mention in the testscript and I am stuck with the shutdown message on master server.
Please help me to solve the issue.
truefor thisjmeterengine.force.system.exitin your properties file which will force NON-GUI JVM to exit after test end. - Masud Jahan