Bug 41873

Summary: Add name to AssertionResult and display AssertionResult in ViewResultsFull
Product: JMeter - Now in Github Reporter: Alf Hogemark <alf>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Suggested patch

Description Alf Hogemark 2007-03-17 06:34:08 UTC
Hi

I think it would be nice if the AssertionResult had a name, with the value for
Assertion that caused the AssertionResult.

I also think it would be useful if the ViewResultsFullVisualizer displayed
assertions that failed as child nodes of the sample where it was evaluated.

The AssertionVisualizer should also display the name of the AssertionResult.
Comment 1 Alf Hogemark 2007-03-17 06:46:55 UTC
Created attachment 19727 [details]
Suggested patch

The suggested patch adds a name property to the AssertionResult, and for all
the different Assertions that creates AssertionResult, the name of the
AssertionResult is set to the same as the name of the Assertion.

The AssertionVizualizer is modified to display the name of the AssertionResult.


The ViewResultsFullVisualizer is modified to display failed assertions as child
nodes to the samples.
If you do not like the modifications to the ViewResultsFullVisualizer, you can
apply the other parts of the request.
Comment 2 Sebb 2007-03-17 10:37:37 UTC
Thanks very much.

Added to SVN.
Comment 3 The ASF infrastructure team 2022-09-24 20:37:38 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1886