Bug 41873 - Add name to AssertionResult and display AssertionResult in ViewResultsFull
Summary: Add name to AssertionResult and display AssertionResult in ViewResultsFull
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.2
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 06:34 UTC by Alf Hogemark
Modified: 2007-03-17 10:37 UTC (History)
0 users



Attachments
Suggested patch (22.85 KB, patch)
2007-03-17 06:46 UTC, Alf Hogemark
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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