The _javaScript function should do the job :
${__javaScript(new Date(),currentDate)}
Jonathan
-----Message d'origine-----
De : Brian Lundell [mailto:[EMAIL PROTECTED]
Envoy� : July 24, 2003 12:32 PM
� : JMeter Users List
Objet : RE: Jmeter on Solaris
Hi,
I have a question about how to go about getting today's date. I have a request that I
would like to send using an XML Sampler. This request includes sending today's date
as part of the request. What would be the best/proper way of determining today's date
and putting it into a variable that I can use in my sampler? Do I have to write my
own function to do this? Thanks for the help!
Brian Lundell, Quality Assurance Specialist
Time Industrial, Inc.
An Outsourced Contractor Time and Cost Tracking Service.
-----------------------------------------------------------------------------------------
tel: 780.413.1521 fax: 780.413.0474
http://www.TimeIndustrial.com
-----------------------------------------------------------------------------------------
This message and attached files, if any, is (are) intended only for the addressee(s)
and may
contain privileged or confidential information. Any unauthorized disclosure is
strictly prohibited.
If destined to our legal counsel, this transmission is privileged communication as
between an
attorney and its client.
If you have received this message in error, please notify us immediately so that we
may correct
our internal records. Please then delete the original message. Thank you.
---------------------------------------------------------------------
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]