开发者

How to know the result of the JMeter test from command line?

开发者 https://www.devze.com 2023-03-02 20:34 出处:网络
I would like to know if there any flag for the following command to know the test result on the command line itself?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消