microtime:
http://www.php.net/manual/en/function.microtime.php

uniqid
http://www.php.net/manual/en/function.uniqid.php

md5:
http://www.php.net/manual/en/function.md5.php

Since a substring of 0,16 is done on it, it could just be a random and
RandomString might do it.
Otherwise you will have to use BeanShell.

You may also develop an MD5 function and contribute it.

Regards
Philippe
http://www.ubik-ingenierie.com

On Wed, Nov 23, 2011 at 8:44 PM, sebb <[email protected]> wrote:

> On 16 November 2011 14:42, andreea raluca <[email protected]> wrote:
> > Hello,
> > I have to generate in JMeter a randomized variable that have this form:
> id=4eeb87da1cdf8812. In the code it’s described like this :
> >  '&id=' . substr(md5(microtime() . uniqid('')), 0, 16)
> > Can anyone help me?
>
> There are various script functions that might perhaps be of use; have a
> look at:
>
> http://jmeter.apache.org/usermanual/functions.html
>
> But without knowing what microtime() and uniqid() do it's impossible
> to say if they would be suitable or not.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Cordialement.
Philippe Mouawad.

Reply via email to