jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin S." <mko...@gmail.com>
Subject Re: How to parameterize the date
Date Tue, 06 Sep 2011 11:47:05 GMT
There is Time function. Read about it

Just the other day I needed to do the same. I created java request and put
this function in there
${__time(,sdate)}

so i get current date in sdate variable here

But you can control date format in this function and alos make it custom.
All this can be found in docs.

On Tue, Sep 6, 2011 at 2:38 PM, sbhosale <sandeep.bhosale@gmail.com> wrote:

> Hi all,
>
> In my application i have date field. I want to take the today's date in
> this
> field. So whenever I run the script it should not fail. Anybody has any
> ideas How do I do it. Any ideas.
>
> Thanks,
> Sandeep
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/How-to-parameterize-the-date-tp4774037p4774037.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message