jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Dalquist <>
Subject Re: Save variables
Date Mon, 21 Aug 2006 15:39:37 GMT
I'm currently doing the label trick but that then requires extra 
processing in my reporting tool. Would you be open to a contribution 
that would add the capability to persist variables to the Simple Data 
Writer (or some clone of it)? If so do you have any quick pointers on 
which classes I would be looking at tweaking?


sebb wrote:
> Not directly.
> However, you can create a Java Request sampler and include the
> variables in that; attach the SDW as a child of the Java Request
> Sampler.
> Or you can add a BeanShell Post-processor or perhaps a Listener, and
> write some code to write the values to a file.
> Or you can pass the host name in as a property, rather than via a CSV
> file, and use a command script to save the value outside the test.
> It's not currently possible to add any optional variables to either
> the CSV or XML output formats, but you can always try including the
> host-name as part of the sampler labels.
> S.
> On 21/08/06, Eric Dalquist <> wrote:
>> Is there a way to get the Simple Data Writer to save arbitrary variables
>> I have set in my test with each result? As an example I have a test that
>> can run against multiple hosts which is specified by a ${host} variable
>> being read from a CSV. Is there a way with the XML persistence option to
>> save that variable for each result so I can do reporting based on hosts?
>> -Eric
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message