Forum Discussion

Bosch_Software_'s avatar
12 years ago

LoadUI cmdline (2.6.7) and broken XML Report with assertions

Hi,

At this time we evaluate the loadui commandline tool and we wrote some testcases with asserterions. The first results seems to be good, but we want to use the xml repeorting for further processings. During XML valdiation, it seems there is an error with the build of the XML structure (assertions included).

Example output (summary) with assertions:

<section title="Execution Metrics">
<assertion_failure_ratio>0%</assertion_failure_ratio>
<request_failure_ratio>0%</request_failure_ratio>
<runners>
<row>
<name>Web Page Runner 1</name>
<cnt>100</cnt>
<min>19</min>
<max>153</max>
<avg>24</avg>
<std-dev>12,96</std-dev>
<min_avg>0,79</min_avg>
<max_avg>6,38</max_avg>
<err>0</err>
<ratio>0%</ratio>
</row>
</runners>
<assertions>
<row>
<name>Median</name>
<constraint>Range 0 – 2.000</constraint>
<failures>0</failures>
<></>
</row>
</assertions>
</section>

The line with the "<></>" will be the fault for this XML structures. If we use no assertions, the xml structute is well formed!

It seems to be a bug!
  • Hi,

    I have reproduced this problem and opened an internal defect of LOADUI-1432.

    Thanks for reporting.