jtl sample attributes difference between Jmeter 2 and Jmeter 5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

jtl sample attributes difference between Jmeter 2 and Jmeter 5

Krister Nilsson
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: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

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

Philippe Mouawad
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 <
[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>

<https://www.openstreetmap.org/#map=18/50.69454/3.16455>
Philippe M.
@philmdot
http://ubikloadpack.com
Reply | Threaded
Open this post in threaded view
|

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

Krister Nilsson
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 <[hidden email]>
Skickat: den 18 november 2019 11:54
Till: JMeter Users List <[hidden email]>
Ä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 < [hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]