jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Pokhilko <>
Subject Issue with XML version in JTL files
Date Sun, 24 Jul 2016 10:49:21 GMT

When JMeter writes XML JTL files, it uses header with XML version 1.0

Here's example that I generated with ResultCollector, reproducing the
issue from one of the users:

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<sample t="0" it="0" lt="0" ts="1469356444856" s="false" lb="" rc=""
rm="&#x9;" tn="" dt="" by="0" ng="0" na="0"/>


If we will use strict XML parser, like
or other strict XML reading library, we will get the error for the above
text, because &#x9 is a character entity, only allowed in XML 1.1.
XStream writer that we use generates XML 1.1 data and there is FAQ entry
for this case:

Looks like we have a bug of writing file body as XML 1.1 while
declaration says 1.0. Should I fix it right away?

Andrey Pokhilko

View raw message