Reputation: 11
Is there a way to use the icons in the tree to view response 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.
Upvotes: 1
Views: 813
Reputation: 290
You can Use Result Tree Listener.So if any sample fails that particular sample turns red.
Upvotes: 0
Reputation: 516
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
Upvotes: -1
Reputation: 421
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.
Upvotes: 4
Reputation: 7707
If a sample fails an assertion, the icon turns red automatically.
Upvotes: 1
Reputation: 2658
Use Assertion Results Listener and check Log/Display Only Errors checkbox
Upvotes: 1