jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Relative save paths
Date Mon, 24 Jul 2006 13:37:13 GMT
If you use non-GUI mode, you can use the -l flag to create a listener
and name the JTL file. No need for a separate Simple Data writer as
well.

The listener can be configured using jmeter.properties.

S.
On 24/07/06, Andy Dawson <andy@iti.upv.es> wrote:
> Hi All,
>
> I have a number of test plans, which are organized in folders, each plan
> includes a simple data writer. I would like to ensure that the results
> of each test plan, are stored in a subfolder relative to the location of
> the current test plan - how can I do this?
>
> To elaborate a little, I have the following file and folder structure:
>
> Test Case1
> ----Permutation 1
>      Plan.jmx
> --------Results
>
> ----Permutation 2
>      Plan.jmx
> --------Results
>
> ----Permutation 3
>      Plan.jmx
> --------Results
>
> Test Case 2
> ----Permutation 1
>      Plan.jmx
> --------Results
>
> ----Permutation 2
>      Plan.jmx
> --------Results
>
> ----Permutation 3
>      Plan.jmx
> --------Results
>
> ... etc.
>
> For each plan a user variable is set*:
> Prefix = Results/
> ${__time(YMDHMS)}/Duration_${RunDuration}_Threads_${Threads}_
>
> Which is included in the filepath for the data writer as:
> ${FilePrefix}Log.jti
>
> Is there an easy way to include "Permutation n"  in the file name/path
> (or otherwise derive the path of the current test) without writing it
> explicitly? Are there other *Magic* constants available, that might be
> useful? Is there a better way to structure the test files?
>
> Thanks in advance, Regards,
>
> Andy
> *The other variables shown are also user variables defined at the test
> plan level, defining the test characteistics.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message