On 28/01/2008, Ray Trejo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to insert the current date and time (formatted:  MMDDYY
> HHMI) into the filename field of the simple data writer.   Is this
> possible, and how do I do it?
>

http://jakarta.apache.org/jmeter/usermanual/functions.html#predefinedvars

You can also use functions - e.g. __P() and __time() - in the filename field.

>
>
> I tried querying the db and formatting the date, using a regex, but this
> did not work.
>

That's because the log file name is resolved before the test starts.

> The file name displays. Log_${date}.jtl
>
>  instead of log_012807 0900.jtl.
>
>
>
>
>
>
>
> Thank you,
>
>
>
> Ray Trejo
>
> Rackspace Managed Hosting
>
> Quality Assurance Engineer
>
> Direct:  (210) 312 - 5326
>
> Email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> Confidentiality Notice: This e-mail message (including any attached or
> embedded documents) is intended for the exclusive and confidential use of the
> individual or entity to which this message is addressed, and unless otherwise
> expressly indicated, is confidential and privileged information of Rackspace.
> Any dissemination, distribution or copying of the enclosed material is 
> prohibited.
> If you receive this transmission in error, please notify us immediately by 
> e-mail
> at [EMAIL PROTECTED], and delete the original message.
> Your cooperation is appreciated.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to