开发者

JMeter Assertions

Is there a way to use the icons in the tree to view respo开发者_如何转开发nse assertion failures in JMeter? Maybe turning the icons red? Or some other way to quickly see if there are any errors? It's a pain to click every View Results Tree node to check for errors.


Yes, the icons turn red when a error occurs. the only reason it wouldn't is because you've checked "ignore Status" in a response assertion, that occurs after your other checks. If you use ignore status, make it the first assertion in your list.


Use Assertion Results Listener and check Log/Display Only Errors checkbox


If a sample fails an assertion, the icon turns red automatically.


You can Use Result Tree Listener.So if any sample fails that particular sample turns red.

JMeter Assertions


It simple the color of assertion will be red only if that fail. Other option is stop the test when Assertion fail. i.e. check the Stop Thread option in Thread group

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜