You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Krister Nilsson <kr...@pensionsmyndigheten.se> on 2019/11/18 10:35:06 UTC

jtl sample attributes difference between Jmeter 2 and Jmeter 5

Hello!

When upgrading from Jmeter 2.3 to Jmeter 5.0 the jtl-files contains more sample attributes than before. We are using XML-format. I'm trying to search the web and Jmeter's own user docs but I just cannot find where I can change this.

In 2.3 we get 
<httpSample t="302" lt="302" ts="1573566997481" s="true" lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1" dt="text" by="288" ng="1" na="1"/>

In 5.0 we get
<httpSample t="568" it="0" lt="568" ct="523" ts="1573855351564" s="true" lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1" dt="text" by="431" sby="1097" ng="1" na="1">
  <java.net.URL>https://kund.pst.pensionsmyndigheten.se:8499/customerinformation/CustomerInformationWebService</java.net.URL>

As you can see there is also an additional line <java.net.URL> which I do not know where it comes from.

Help is much appreciated!

BR
/Krister


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

SV: jtl sample attributes difference between Jmeter 2 and Jmeter 5

Posted by Krister Nilsson <kr...@pensionsmyndigheten.se>.
Hi!

Thanks! We actually solved it ourselves even though your response was very prompt. 
Yes, we have used the very old version since it has worked fine and noone has had the energy to update before myself.

Since we have some own tools which expects certain formats we need to do these changes in the jmeter.props, but if we had not, your point would probably have been highly valid.

Thanks for your help again!

BR
/Krister

-----Ursprungligt meddelande-----
Från: Philippe Mouawad <p....@ubik-ingenierie.com> 
Skickat: den 18 november 2019 11:54
Till: JMeter Users List <us...@jmeter.apache.org>
Ämne: Re: jtl sample attributes difference between Jmeter 2 and Jmeter 5

Hello,
JMeter 2.3 is a very very old version , 21 major versions released since this one and many changes, one of them is more saved fields.

To remove URL, add to user.properties:
jmeter.save.saveservice.url=false

But the question is: Should you do it ?

It is needed for new HTML report for example.
Ensure you read this for your migration:

   - http://jmeter.apache.org/changes_history.html
   - http://jmeter.apache.org/changes.html

Regards
Philippe M.
https://leanpub.com/master-jmeter-from-load-test-to-devops

On Mon, Nov 18, 2019 at 11:35 AM Krister Nilsson < krister.nilsson@pensionsmyndigheten.se> wrote:

> Hello!
>
> When upgrading from Jmeter 2.3 to Jmeter 5.0 the jtl-files contains 
> more sample attributes than before. We are using XML-format. I'm 
> trying to search the web and Jmeter's own user docs but I just cannot 
> find where I can change this.
>
> In 2.3 we get
> <httpSample t="302" lt="302" ts="1573566997481" s="true"
> lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1"
> dt="text" by="288" ng="1" na="1"/>
>
> In 5.0 we get
> <httpSample t="568" it="0" lt="568" ct="523" ts="1573855351564" s="true"
> lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1"
> dt="text" by="431" sby="1097" ng="1" na="1">
>   <java.net.URL>
> https://kund.pst.pensionsmyndigheten.se:8499/customerinformation/Custo
> merInformationWebService
> </java.net.URL>
>
> As you can see there is also an additional line <java.net.URL> which I 
> do not know where it comes from.
>
> Help is much appreciated!
>
> BR
> /Krister
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

<https://www.openstreetmap.org/#map=18/50.69454/3.16455>

Re: jtl sample attributes difference between Jmeter 2 and Jmeter 5

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello,
JMeter 2.3 is a very very old version , 21 major versions released since
this one and many changes, one of them is more saved fields.

To remove URL, add to user.properties:
jmeter.save.saveservice.url=false

But the question is: Should you do it ?

It is needed for new HTML report for example.
Ensure you read this for your migration:

   - http://jmeter.apache.org/changes_history.html
   - http://jmeter.apache.org/changes.html

Regards
Philippe M.
https://leanpub.com/master-jmeter-from-load-test-to-devops

On Mon, Nov 18, 2019 at 11:35 AM Krister Nilsson <
krister.nilsson@pensionsmyndigheten.se> wrote:

> Hello!
>
> When upgrading from Jmeter 2.3 to Jmeter 5.0 the jtl-files contains more
> sample attributes than before. We are using XML-format. I'm trying to
> search the web and Jmeter's own user docs but I just cannot find where I
> can change this.
>
> In 2.3 we get
> <httpSample t="302" lt="302" ts="1573566997481" s="true"
> lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1"
> dt="text" by="288" ng="1" na="1"/>
>
> In 5.0 we get
> <httpSample t="568" it="0" lt="568" ct="523" ts="1573855351564" s="true"
> lb="getPersonNumber" rc="200" rm="OK" tn="Test Webservices Customer 1-1"
> dt="text" by="431" sby="1097" ng="1" na="1">
>   <java.net.URL>
> https://kund.pst.pensionsmyndigheten.se:8499/customerinformation/CustomerInformationWebService
> </java.net.URL>
>
> As you can see there is also an additional line <java.net.URL> which I do
> not know where it comes from.
>
> Help is much appreciated!
>
> BR
> /Krister
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

<https://www.openstreetmap.org/#map=18/50.69454/3.16455>