Hi -  regarding the new logging format, I looked in jmeter.properties
and found this directive:
        'file_format.testlog=2.0'
The comments indicate this is set to '2.0' so that logs are written in
the old log format. 

A simple test plan with these 2 elements:
        1. JDBC sampler 
        2. HTTP sampler 
...mormally generates entries of this nature:
---------------------------------------
<sampleResult ... label="JDBC Request" ...>
<sampleResult ... label="HTTP Request" ...>
---------------------------------------

When I comment out that property (to use the new log format), JMeter
switches to the new format, but the logs for the JDBC sampler go
missing:
---------------------------------------
<httpSample ... lb="HTTP Request" ...>

---------------------------------------

Am I doing this correctly, or is the new log format not ready yet? 

Sincerely,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED]

-----Original Message-----
From: Sonam Chauhan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 5 April 2006 5:08 PM
To: JMeter Users List
Subject: log file formats - upgrade problem

Hello JMeter list! I'm in the process of upgrading a testsuite from
JMeter 1.9.1 to 2.1.1 and ran into problems below in how log files are
processed. Can you help?


JMeter 1.9.1
============================
The old JMeter (1.9.1) used to generate logs of this type:
---------------------
<sampleResult timeStamp="1144219416885" ...> 
</sampleResult> 
---------------------


'Old Tests' in JMeter 2.1.1
============================
When an 'old' JMeter testscript (i.e. created using JMeter 1.9.1) is run
in the new JMeter (2.1.1), logs of the following type are generated:
---------------------
<httpSample t="422" lt="422" ts="1144219352620" ...>
  <assertionResult>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
</httpSample> 
---------------------


'New Tests' in JMeter 2.1.1
============================
However, if I build a new testcase from scratch new JMeter (2.1.1), it
generated yet a different log format:
---------------------
<sampleResult timeStamp="1144217221253" ...><assertionResult
...></sampleResult>
---------------------
This resembles the old log format, but has different nested elements: 
- The old practice of representing 302 redirects as <sampleResult>
subelements is gone.
- New <assertionResult> subelements now occur under <sampleResult>. 


Questions: 
===========
1.      How could I make both old and new test scripts generate the same
log format when run in JMeter 2.1.1? 

2.      Is there documentation on the JMeter 2.1.1 log format?

Sincerely,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to