https://bz.apache.org/bugzilla/show_bug.cgi?id=64539
Bug ID: 64539
Summary: View Result Tree: incorrect display of Assertion
Result when defined globally
Product: JMeter
Version: 5.3
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.3.1
Created attachment 37317
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37317&action=edit
screenshot
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).
--
You are receiving this mail because:
You are the assignee for the bug.