GPH Theory: Your Ultimate Guide to General Topics, News, SEO, and Technology

Welcome to GPH Theory, your go-to source for the latest news, insights, and analysis on general topics, SEO, technology, and more. Our mission is to provide you with the most relevant and up-to-date information to help you stay ahead of the curve. From beginners to experts, we have something for everyone. Join us and start your journey towards digital excellence today.

Different ways to run your Jmeter script in non GUI mode

  Bittu      
ways to execute jmeter script in non gui mode distributed load testing


1. When you are simply running your script locally within the system :

Command : Jmeter -n -t "your.jmx" -l "testResult.jtl"

2. When You want to run your script in different computers i.e in distributed mode

Command : Jmeter -n -t "your.jmx" -l "testResult.jtl" -r

in above command local IP's of the system will be picked up from varaible named "remote-hosts" under Jmeter.properties file in bin folder.

3. Whenn you specify cetain IP's to execute your script

Command : Jmeter -n -t "Your.jmx" -l "testResult.jtl" -r -Rxxxx.xxxx.xxxx.xxxx,xxxx.xxxx.xxxx.xxxx
logoblog

Thanks for reading Different ways to run your Jmeter script in non GUI mode

Previous
« Prev Post

1 comment:

  1. Specify number of thread in Non GUI Mode Jmeter:

    jmeter -Jthreads=1000 -n -t test.jmx -l result.jtl

    ReplyDelete