You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by May Lee-Greacen <ma...@staples.com.au> on 2013/10/29 00:58:23 UTC

log file formats - upgrade problem

Hello Jmeter users.

I'm in the process of upgrading a testsuite from JMeter 2.3.1 to 2.10 and ran into problems below in how log files are processed. I have the file_format property set to the following. file_format.testlog=2.2

Can you help?



Jmeter 2.3.1 - in an xml format
--------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<sample />
<httpSample t="7757" lt="7757" ts="1382995465811" s="true" lb="Login with invalid password - everything else is valid" rc="200" rm="OK" tn="Integration Tests Thread Group 3-1" dt="text" by="3221">
  <assertionResult>
    <name>Response Assertion - Error and Access Denied</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
</httpSample>



Jmeter 2.10 - in a csv file format.
----------------------------------------
2013-10-29 09:25:44,5054,Sleep before starting integration tests,,,Integration Tests Thread Group 3-1,,true,0,0
2013-10-29 09:25:56,9715,Login with invalid password - everything else is valid,200,OK,Integration Tests Thread Group 3-1,text,true,3482,9715


Question
-----------

1.       Has the format of the log file changed between 2.3.1 to 2.10?

2.       Are there any configuration settings that is available under 2.10 that will allow me to change it to the xml format?

3.       Is there documentation on the Jmeter 2.10 log format?


Thank you.


Regards
May




The information contained in this email and any attached files are strictly private and confidential. This email should be read only by the intended addressee only. If the recipient of this message is not the intended addressee, please call Staples Australia Pty Limited on +61 2 9335 0555 or Staples New Zealand Limited on +64 9 271 7600 and promptly delete this email and any attachments. The intended recipient of this email may only use, reproduce, disclose or distribute the information contained in this email and any attached files with the prior written permission of StaplesTM. If you are not the intended addressee, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email and any attached files. StaplesTM advises that this email and any attached files should be scanned to detect viruses. StaplesTM accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files.

RE: log file formats - upgrade problem

Posted by May Lee-Greacen <ma...@staples.com.au>.
Hi Ubikloadpack,

The solution worked.

Thank you.

Regards
May



-----Original Message-----
From: UBIK LOAD PACK Support [mailto:support@ubikloadpack.com] 
Sent: Tuesday, 29 October 2013 3:45 PM
To: JMeter Users List
Subject: Re: log file formats - upgrade problem

Hello,
Answers below.
Regards
@ubikloadpack


On Tuesday, October 29, 2013, May Lee-Greacen wrote:

> Hello Jmeter users.
>
> I'm in the process of upgrading a testsuite from JMeter 2.3.1 to 2.10 
> and ran into problems below in how log files are processed. I have the 
> file_format property set to the following. file_format.testlog=2.2
>
> Can you help?
>
>
>
> Jmeter 2.3.1 - in an xml format
> --------------------------------------
> <?xml version="1.0" encoding="UTF-8"?> <testResults version="1.2"> 
> <sample /> <httpSample t="7757" lt="7757" ts="1382995465811" s="true" 
> lb="Login with invalid password - everything else is valid" rc="200" 
> rm="OK"
> tn="Integration Tests Thread Group 3-1" dt="text" by="3221">
>   <assertionResult>
>     <name>Response Assertion - Error and Access Denied</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
> </httpSample>
>
>
>
> Jmeter 2.10 - in a csv file format.
> ----------------------------------------
> 2013-10-29 09:25:44,5054,Sleep before starting integration 
> tests,,,Integration Tests Thread Group 3-1,,true,0,0
> 2013-10-29 09:25:56,9715,Login with invalid password - everything else 
> is valid,200,OK,Integration Tests Thread Group 3-1,text,true,3482,9715
>
>
> Question
> -----------
>
> 1.       Has the format of the log file changed between 2.3.1 to 2.10?
>
>
Yes in 2.9, from xml to csv

> 2.       Are there any configuration settings that is available under 2.10
> that will allow me to change it to the xml format?
>
> yes:

jmeter.save.saveservice.output_format=xml



> 3.       Is there documentation on the Jmeter 2.10 log format?
>
>
> Csv format exists since very old versions.
 http://jmeter.apache.org/usermanual/listeners.html

Thank you.
>
>
> Regards
> May
>
>
>
>
> The information contained in this email and any attached files are 
> strictly private and confidential. This email should be read only by 
> the intended addressee only. If the recipient of this message is not 
> the intended addressee, please call Staples Australia Pty Limited on 
> +61 2 9335
> 0555 or Staples New Zealand Limited on +64 9 271 7600 and promptly 
> delete this email and any attachments. The intended recipient of this 
> email may only use, reproduce, disclose or distribute the information 
> contained in this email and any attached files with the prior written 
> permission of StaplesTM. If you are not the intended addressee, you 
> are strictly prohibited from using, reproducing, disclosing or 
> distributing the information contained in this email and any attached 
> files. StaplesTM advises that this email and any attached files should 
> be scanned to detect viruses. StaplesTM accepts no liability for loss 
> or damage (whether caused by negligence or not) resulting from the use of any attached files.
>


-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: log file formats - upgrade problem

Posted by UBIK LOAD PACK Support <su...@ubikloadpack.com>.
Hello,
Answers below.
Regards
@ubikloadpack


On Tuesday, October 29, 2013, May Lee-Greacen wrote:

> Hello Jmeter users.
>
> I'm in the process of upgrading a testsuite from JMeter 2.3.1 to 2.10 and
> ran into problems below in how log files are processed. I have the
> file_format property set to the following. file_format.testlog=2.2
>
> Can you help?
>
>
>
> Jmeter 2.3.1 - in an xml format
> --------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <testResults version="1.2">
> <sample />
> <httpSample t="7757" lt="7757" ts="1382995465811" s="true" lb="Login with
> invalid password - everything else is valid" rc="200" rm="OK"
> tn="Integration Tests Thread Group 3-1" dt="text" by="3221">
>   <assertionResult>
>     <name>Response Assertion - Error and Access Denied</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
> </httpSample>
>
>
>
> Jmeter 2.10 - in a csv file format.
> ----------------------------------------
> 2013-10-29 09:25:44,5054,Sleep before starting integration
> tests,,,Integration Tests Thread Group 3-1,,true,0,0
> 2013-10-29 09:25:56,9715,Login with invalid password - everything else is
> valid,200,OK,Integration Tests Thread Group 3-1,text,true,3482,9715
>
>
> Question
> -----------
>
> 1.       Has the format of the log file changed between 2.3.1 to 2.10?
>
>
Yes in 2.9, from xml to csv

> 2.       Are there any configuration settings that is available under 2.10
> that will allow me to change it to the xml format?
>
> yes:

jmeter.save.saveservice.output_format=xml



> 3.       Is there documentation on the Jmeter 2.10 log format?
>
>
> Csv format exists since very old versions.
 http://jmeter.apache.org/usermanual/listeners.html

Thank you.
>
>
> Regards
> May
>
>
>
>
> The information contained in this email and any attached files are
> strictly private and confidential. This email should be read only by the
> intended addressee only. If the recipient of this message is not the
> intended addressee, please call Staples Australia Pty Limited on +61 2 9335
> 0555 or Staples New Zealand Limited on +64 9 271 7600 and promptly delete
> this email and any attachments. The intended recipient of this email may
> only use, reproduce, disclose or distribute the information contained in
> this email and any attached files with the prior written permission of
> StaplesTM. If you are not the intended addressee, you are strictly
> prohibited from using, reproducing, disclosing or distributing the
> information contained in this email and any attached files. StaplesTM
> advises that this email and any attached files should be scanned to detect
> viruses. StaplesTM accepts no liability for loss or damage (whether caused
> by negligence or not) resulting from the use of any attached files.
>


-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>