Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Jmeter remotely from command line

Tags:

testing

jmeter

Is it possible to run Jmeter on remote server without having Jmeter client on local machine. I mean can I just run jmeter.bat on remote machine from command prompt, so that it just run tests on remote server and store results in listener.jtl file over there, without any jmeter client on my machine.

like image 638
Vijay Katoch Avatar asked May 15 '12 18:05

Vijay Katoch


1 Answers

Here is the link: http://jmeter.apache.org/usermanual/remote-test.html.
Just go through the documentation available in the Jmeter's website.

The scenario given by you is some sort of "distributed testing" itself, where you want every tester to execute load testing from the machine where JMeter is installed.

For this purpose you must copy JMeter in each testers machine and make the entry of your JMeter server machine (Host Machine).

Now when every tester will run JMeter they will be able to run the load on the JMeter Host Machine.

jmeter -n -t script.jmx -l listener.jtl -R HostMachineIP
like image 77
Yugal Avatar answered Oct 04 '22 20:10

Yugal