View Result Tree: incorrect display of Assertion Result when defined globally
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**Marc Stern** ([Bug 64539](https://bz.apache.org/bugzilla//show_bug.cgi?id=64539&redirect=false)):
I have a JSR223 Assertion defined at the Thread group level.
It is correctly executed for each HTTP Request sampler.
When the assertion fails via AssertionResult.setFailure(true), it correctly add a red Assertion Result in the View Result Tree.
Problem: the HTTP Request in the View Result Tree stays green. When looking at the View Result Tree, all tests seem OK (see screenshot).
If the same assertion is added inside each HTTP Request, the View Result Tree correctly displays the HTTP Request in red (but it would require to duplicate the assertion to thousands of requests which is not manageable).
Created attachment [1.png](https://apache.github.io/jmeter-bugzilla-attachments/39/64539/37317/1.png): screenshot

OS: All
Contributor guide
Assessment
This issue has not been assessed yet.