Try this: ${__time(YMDHMS, var_name)}
The above expression will take the time stamp and store it in "var_name"
variable. You can refer to it later in your script by using ${var_name}.
This should give you randomness since the time stamp will be different each
time you run the script.
Thanks
Fazal
On Fri, Sep 24, 2010 at 9:56 AM, sprozzy <[email protected]> wrote:
>
> Hi, I am currently working on creating a randon variable (Stock$). When
> the
> variable is first created I then want to use the same variable throughout
> the script.
>
> How is this possible.
>
> Many thanks
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Create-random-variable-then-use-same-variable-tp2852755p2852755.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Syed Fazal Ali