adding own data to jtl-file

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

adding own data to jtl-file

Krister Nilsson
Hi!

I am working with performance test and mainly using Jmeter for testing web services. When doing this the key in our test data, steering the behaviour of the test, is often id-number for different persons (yes, we are very well aware of GDPR...). It would be beneficiary for us, when we need to trouble shoot, to be able to include (e.g.) that id-number in the result file (jtl).

Is there a way to "forward" that test data into the jtl-file?

Med vänlig hälsning
Krister Nilsson
____________________________________________________________

Krister Nilsson / översteprest, prestandatest

IT Fond konto och teknisk plattform
Telefon direkt 010-454 21 97, mobil 072-210 21 97
[hidden email]

Pensionsmyndigheten,
Telefon vxl 0771-771 771, fax 08-658 13 00, www.pensionsmyndigheten.se


? Överväg miljöpåverkan innan du skriver ut detta e-brev.


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

Reply | Threaded
Open this post in threaded view
|

Re: adding own data to jtl-file

Owen Pahl
Hi Krister,

I haven't tried this with the XML output but for CSV if you include a
property called "sample_variables" and provide a list of JMeter
variables to include. These will be appended the end of each row of
the CSV.

eg. on the command line "-Jsample_variables=user_id,login_time"
This can also be done in a properties file if you are using those.

Take a look here
https://jmeter.apache.org/usermanual/properties_reference.html#results_file_config


Cheers,
Owen


On Thu, 23 Apr 2020 at 03:25, Krister Nilsson
<[hidden email]> wrote:

>
> Hi!
>
> I am working with performance test and mainly using Jmeter for testing web services. When doing this the key in our test data, steering the behaviour of the test, is often id-number for different persons (yes, we are very well aware of GDPR...). It would be beneficiary for us, when we need to trouble shoot, to be able to include (e.g.) that id-number in the result file (jtl).
>
> Is there a way to "forward" that test data into the jtl-file?
>
> Med vänlig hälsning
> Krister Nilsson
> ____________________________________________________________
>
> Krister Nilsson / översteprest, prestandatest
>
> IT Fond konto och teknisk plattform
> Telefon direkt 010-454 21 97, mobil 072-210 21 97
> [hidden email]
>
> Pensionsmyndigheten,
> Telefon vxl 0771-771 771, fax 08-658 13 00, www.pensionsmyndigheten.se
>
>
> ? Överväg miljöpåverkan innan du skriver ut detta e-brev.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

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

Reply | Threaded
Open this post in threaded view
|

SV: adding own data to jtl-file

Krister Nilsson
Thanks!

It seems to work fine for xml as well!

Cheers!
/Krister

-----Ursprungligt meddelande-----
Från: Owen Pahl <[hidden email]>
Skickat: den 22 april 2020 22:05
Till: JMeter Users List <[hidden email]>
Ämne: Re: adding own data to jtl-file

Hi Krister,

I haven't tried this with the XML output but for CSV if you include a property called "sample_variables" and provide a list of JMeter variables to include. These will be appended the end of each row of the CSV.

eg. on the command line "-Jsample_variables=user_id,login_time"
This can also be done in a properties file if you are using those.

Take a look here
https://jmeter.apache.org/usermanual/properties_reference.html#results_file_config


Cheers,
Owen


On Thu, 23 Apr 2020 at 03:25, Krister Nilsson <[hidden email]> wrote:

>
> Hi!
>
> I am working with performance test and mainly using Jmeter for testing web services. When doing this the key in our test data, steering the behaviour of the test, is often id-number for different persons (yes, we are very well aware of GDPR...). It would be beneficiary for us, when we need to trouble shoot, to be able to include (e.g.) that id-number in the result file (jtl).
>
> Is there a way to "forward" that test data into the jtl-file?
>
> Med vänlig hälsning
> Krister Nilsson
> ____________________________________________________________
>
> Krister Nilsson / översteprest, prestandatest
>
> IT Fond konto och teknisk plattform
> Telefon direkt 010-454 21 97, mobil 072-210 21 97
> [hidden email]
>
> Pensionsmyndigheten,
> Telefon vxl 0771-771 771, fax 08-658 13 00, www.pensionsmyndigheten.se
>
>
> ? Överväg miljöpåverkan innan du skriver ut detta e-brev.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

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


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