When I run my JMeter performance test in non-GUI mode with the command: /jmeter -n -t TC_001_01.jmx -l result.jtl
an XML file is generated with the following format:
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<sample t="2045" it="3927" lt="0" ts="1468310751311" s="true" lb="Access Home Page Transaction" rc="200" rm="Number of samples in transaction : 1, number of failing samples : 0" tn="Thread Group 1-1" ng="1" na="1">
<httpSample t="2045" it="0" lt="914" ts="1468310755221" s="true" lb="https://www.myserver.es" rc="200" rm="OK" tn="Thread Group 1-1" ng="1" na="1">
<assertionResult>
<name>Response Assertion</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
<httpSample t="914" it="0" lt="914" ts="1468310755221" s="true" lb="https://www.myserver.es/" rc="302" rm="Moved Temporarily" tn="Thread Group 1-1" ng="1" na="1"/>
<httpSample t="1129" it="0" lt="386" ts="1468310756137" s="true" lb="https://www.myserver.es/home" rc="200" rm="OK" tn="Thread Group 1-1" ng="1" na="1"/>
</httpSample>
</sample>
...
When I run the same test adding the option -r: /jmeter -n -t TC_001_01.jmx -l result.jtl -r
to start it using the master-slave (distributed) mode, following Performance Testing in the Cloud with JMeter & AWS, the format of the output XML file is different:
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<statSample>
<saveConfig>
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
.........
.........
</saveConfig>
<responseData></responseData>
<responseCode></responseCode>
.........
.........
</statSample>
How can I get JMeter to emit the first format of XML file when it is running in distributed mode? (I have a XSLT template to generate an HTML report.)
I have reviewed the jmeter.properties and user.properties file without success. I am using jmeter 3.0 and jmeter-plugins-manager-0.8.