开发者

JMeter Assertions

开发者 https://www.devze.com 2023-03-31 00:38 出处:网络
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

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

精彩评论

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