Bug 41873 - Add name to AssertionResult and display AssertionResult in ViewResultsFull
Add name to AssertionResult and display AssertionResult in ViewResultsFull
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.2
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
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.