How to know the result of the JMeter test from command line?
I would like to know if there any flag for the following command to know the test result on the command line itself?
jmeter.bat -n -t "../Tests/testPlan.jmx" -l "../Tests/testResult.xml"
I don't want to open testResult.xml
to learn if开发者_如何学C the test is pass or fail.
Regards Chaitanya
Use Summary properties
The Non-GUI mode needs other properties set in order to print to System.out
. See the blog above.
# Write messages to System.out
summariser.out=true
As far as I know there isn't. You can check all the options available here. Although, if the output is more or less similar you could write a script to automate that process.
Actually there is some other command-line way: http://code.google.com/p/jmeter-plugins/wiki/JMeterPluginsCMD
精彩评论