Hi,
I'm trying to plot multiple graph from many test run. Since I don't want my graph to be a big mess of line and range. I would like to generate multiple graph instead.
Since I haven't yet output the xml data, I would like to check what I need with Jenkins to do so before. I try a little and manage to use the XPATH xml file node set properly.
Now I just don't known how I can manage to generate multiple graph results dynamicaly.
MyBenchmark.xml
<?xml version="1.0" encoding="UTF-8"?>
<Benchmarks>
<Stitch cat="Cat1">1.44556</Stitch>
<Cut cat="Cat1">0.6434</Cut>
<Cut cat="Cat2">6.8434</Cut>
</Benchmarks>
I would like to have a a graph for Cat1 (2 data series, Stitch Cut) and another one for Cat2 (1 data series Cut).
XPath for categorie: /Benchmarks/*[cat="Cat1"]
XPath for categorie: /Benchmarks/*[cat="Cat2"]
I can easily create a file per category instead which could be way easier to do so:
Benchmark_Cat1.xml
<?xml version="1.0" encoding="UTF-8"?>
<Benchmarks>
<Stitch>1.44556</Stitch>
<Cut>0.6434</Cut>
</Benchmarks>
Benchmark_Cat2.xml
<?xml version="1.0" encoding="UTF-8"?>
<Benchmarks>
<Cut cat="Cat2">6.8434</Cut>
</Benchmarks>
But even that I don't known how I can launch a plot per file. Maybe the new pipeline could help doing this? Anybody have done something like that before? I don't want to update Jenkins everytime a new results category show up (here's only 2 category with simple test case that can do multiple entry, but this will change per revision and growth really quickly).
Thanks
Jerome