I am new to jmeter. I have the .jmx file containg all the required http samplers. I could run it throught the Jmeter UI using "Run-> Start" and view the result in the "Summary Report". I can then save the results to the .csv using "Save Table Data" button in "Summary Report".
Question is how can I achieve the same using command line.
Best Answer
JMeter can be launched in non-GUI mode as follows:
You can set what would you like to see in result jtl file via playing with JMeter Properties.
See
jmeter.properties
file under /bin folder of your JMeter installation and look for those starting withDefaults are listed below:
Uncomment the one you are interested in and set it's value to change the default. Another option is override property in
user.properties
file or provide it as a command-line argument using-J
key as follows:See Apache JMeter Properties Customization Guide for more details on what can be done using JMeter Properties.