History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1828
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Steve Luo
Reporter: Andrew Beck
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Mapping for repeated patterns in custom Statistics reports

Created: 31/Oct/13 02:21 PM   Updated: 21/Dec/16 03:39 PM
Component/s: None
Affects Version/s: 5.0.24
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Some times in custom reports it would be useful to easily hand repeated XML Nodes
Many XML reports have repeated Nodes
As an example that is already covered as a native but shows a good example is Junit XML (but many other reports have similar structure)

In Junit you can multiple "testcase" nodes per "testsuite"
with each "testcase" having a "name" and "time"

So it would be useful to create a report that for example logically did:-
For each "testcase" report it's "name" and "time"

Or in more generic terms
For each Xpath to repeated Node
Report Xpath1 and Xpath2

At the moment you can specify each testcase by position
e.g.

//testcase[1]/@name
//testcase[1]/@time
//testcase[2]/@name
//testcase[2]/@time


 All   Comments   Work Log   Change History      Sort Order:
Steve Luo [03/Nov/13 03:14 AM]
The purpose of custom statistics plugin is to publish custom stats data, it doesn't intend to publish repeated data like you mentioned.

To me, the repeated pattern data is more like a general purpose report publisher and we will not implement this in the near future. If you have such requirements now, I'd suggest you create your own plugin.

By the way, you may consider split your repeated pattern into files so you can publish them in different report sets.