<< Back to previous view

[QB-1828] Mapping for repeated patterns in custom Statistics reports
Created: 31/Oct/13  Updated: 21/Dec/16

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 5.0.24
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Andrew Beck Assigned To: Steve Luo
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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


 Comments   
Comment by 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.
Generated at Mon May 06 18:04:19 UTC 2024 using JIRA 189.