JMeter Distributed Testing in Linux
Add the following to client (master) jmeter.properties (Preferably user.properties) file: remote_hosts= xxx.xxx.xxx.2,xxx.xxx.xxx.3 Add the following to servers (in each slave machines) jmeter-server : RMI_HOST_DEF=-Djava.rmi.server.hostname=xxx.xxx.xxx.2 for (Slave1) & RMI_HOST_DEF=-Djava.rmi.server.hostname=xxx.xxx.xxx.3 for (Slave2) Then start jmeter-server.sh from those two Slave machines( xxx.xxx.xxx.2 , xxx.xxx.xxx.3 ) using this command ./jmeter-server Then run the following command from the client machine(xxx.xxx.xxx.1) to start remote start all the slaves. ./jmeter -n -t <testscript.jmx> -r someuser@hostname-loadgen-002 bin]$ ./jmeter-server Created remote object: UnicastServerRef2 [liveRef: [endpoint:[10.170.14.8:44276](local),objID:[-4046dc45:16cae927316:-7fff, -2786700634234319895]]] Start test from Master machine with below command : ./jmeter -n -t JMeter511_GooglePage.jmx -r Then we should see below output on slave machi