The JMeter Jtl Test Plan Format

Jtl Test Plan 2.1 Format

JTL are save using xtream.

2.1 Format Example

Here's what a 2.1 jtl format would look like:

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
  <httpSample t="1187" lt="0" ts="1133521593546" s="true" lb="/my_webapp/root/auth" rc="302" rm="Moved Temporarily" tn="Thread Group 1-1" dt="text"/>
  <httpSample t="16" lt="0" ts="1133521593562" s="true" lb="/my_webapp/root/;jsessionid=xxx" rc="302" rm="Moved Temporarily" tn="Thread Group 1-1" dt="text"/>
  <httpSample t="16" lt="0" ts="1133521593578" s="true" lb="/my_webapp/root/portal" rc="302" rm="Moved Temporarily" tn="Thread Group 1-1" dt="text"/>
  <httpSample t="15" lt="0" ts="1133521593593" s="true" lb="/my_webapp/root/docbook/css/docbook.css" rc="304" rm="Not Modified" tn="Thread Group 1-1" dt=""/>
  ...
</testResults>

caption:

  • t is time
  • it is iteration
  • ts is timestamp
  • s is success
  • rc is response code

Jtl Test Plan 2.0 Format

How to save in 2.0 Format

Set jmeter.properties. See JMeter FAQ.

2.0 Format Example

Here's what a 2.0 jtl format would look like:

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
  <sampleResult timeStamp="1133526933906" dataType="" threadName="Thread Group 1-1" label="/" time="0" responseMessage="Not Modified" responseCode="304" success="true"/>
  <sampleResult timeStamp="1133526933921" dataType="" threadName="Thread Group 1-1" label="/css/docbook.css" time="15" responseMessage="Not Modified" responseCode="304" success="true"/>
  <sampleResult timeStamp="1133526935109" dataType="text" threadName="Thread Group 1-1" label="/my_webapp/root/auth" time="1188" responseMessage="Moved Temporarily" responseCode="302" success="true"/>
  <sampleResult timeStamp="1133526935125" dataType="text" threadName="Thread Group 1-1" label="/my_webapp/root/" time="16" responseMessage="Moved Temporarily" responseCode="302" success="true"/>
  ...
</testResults>
  • No labels