Differences between revisions 3 and 4
Revision 3 as of 2005-12-06 16:09:27
Size: 2140
Comment: caption
Revision 4 as of 2009-09-20 21:56:42
Size: 2143
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
[[TableOfContents]] <<TableOfContents>>
Line 8: Line 8:
JTL are save using [http://xstream.codehaus.org/ xtream]. JTL are save using [[http://xstream.codehaus.org/|xtream]].
Line 33: Line 33:
Set jmeter.properties. See [:JMeterFAQ:JMeter FAQ]. Set jmeter.properties. See [[JMeterFAQ|JMeter FAQ]].

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>

JtlTestLog (last edited 2009-09-20 21:56:42 by localhost)