Running Jmeter remotely from command line

☆樱花仙子☆ 提交于 2020-02-02 02:09:05

问题


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.


回答1:


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


来源:https://stackoverflow.com/questions/10606680/running-jmeter-remotely-from-command-line

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!