On Thu, Sep 25, 2003 at 02:24:36PM +0100, BAZLEY, Sebastian wrote:
>
> As to generating the 32 bit (? - should that be byte?) alphanumeric string,
Yes, definately byte. :-)
> you could generate one or more files with the strings in them, and then use
> _StringFromFile() to read the value into a parameter which you can use later
> in the script.
>
> The Javascript function could probably generate longer numbers too. Depends
> on what you want.
Thanks. I used Date() in a javascript function, and just to make sure I
would get unique strings, I added a Counter pre-processor (starting num
10000000 to 99999999). Here's what I have for my first sample request
parameter value:
date${__javaScript( var D = new Date() ; with (D) getTime(),date)}counter${counter}
For all the other samples in the same thread group, I can use:
date${date}counter${counter}
This gives me a string that looks like:
date1064498962131counter10000001
A 32 byte alpha-numeric string unique for every thread group and thread.
Thanks!
js.
--
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Home Page <http://jsmoriss.mvlan.net/>
JS & Melanie's Homebrewery <http://brewery.mvlan.net/>
Underwater and Travel Photographs <http://www.mvpix.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]