开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜