I apologize for the second post on the same issue.
So here is my issue.
I am updating the Simple data writer with the below information thru the
gui.
In the Filename field.
C:\log${__time()}.jtl
Its actually parsing all the text.
So the log file is created as: log${__time()}.jtl
For some reason it is not grabbing the date and time.
Any suggestions would be greatly appreciated.
Thank you,
Ray Trejo
Rackspace Managed Hosting
Quality Assurance Engineer
Direct: (210) 312 - 5326
Email: [EMAIL PROTECTED]
-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 9:11 AM
To: JMeter Users List
Subject: Re: simple data writer date
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#predefinedvar
s
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]
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]