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.
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
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.
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.
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.