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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to