Thanks!

It seems to work fine for xml as well!

Cheers!
/Krister

-----Ursprungligt meddelande-----
Från: Owen Pahl <[email protected]> 
Skickat: den 22 april 2020 22:05
Till: JMeter Users List <[email protected]>
Ä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 
<[email protected]> 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 
> [email protected]
>
> 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: [email protected]
> For additional commands, e-mail: [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