Hi again,

One mistake in the note, and one info omission.

The JRE parameter is given like :

  -DoutputDir=MYOUTPUTDIR

not with the -J as shown below.  Also, the result
is that the filenames running the Test Plan yields
look (literally) like the following.

  ${__property(outputDir)}wdprf001I.jtl

Thanks again.


Lee

> -----Original Message-----
> From: Lee Peterson [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 18, 2004 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Placing __property() in a Filename field doesn't work
> 
> 
> Hi all.
> 
> I hoped to parameterize the location of output files from my Test 
> Plan(s).  I'm using non-GUI invocation.  On a command line, I 
> pass in a 
> parameter to the JRE :
> 
>   -JoutputDir=MYOUTPUTDIR
> 
> and in an Assertion Results Listener 'Filename' field I have, e.g. :
> 
>   ${__property(outputDir)}\AssertionListenerFileName.jtl
> 
> Should this work?  The documentation says the property() function 
> provides :
> 
>   "values that can populate fields of any Sampler or other 
> configuration 
>   element in a test tree".
> 
> and I'm using it successfully in several other areas of the test plan.
> 
> When I provide a non-variable file locus in the Filename 
> field, a file 
> is written as expected.  I have JMeter configured to output 
> XML rather 
> than the default CSV, if that makes any difference.
> 
> Any help is appreciated.
> 
> Thanks.
> 
> 
> Lee Peterson
> SAS Institute, Inc.
> 
> SAS ... The Power to Know
> 
> ---------------------------------------------------------------------
> 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