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.
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
精彩评论