On 14/03/2008, xgan <[EMAIL PROTECTED]> wrote:
>
>  I have question about Random function. The scenarios are as follows:
>
>  1. I run a HTTP Request by using external data file as my test script. I use
>  _StringFromFile(xxx.dat) function which setup in User Parameter (Name:
>  SEARCH; User_1:_StringFromFile(xxx.dat))  in my test script.
>
>  2.Now I want to randomly choose the data from xxx.dat file.

Not possible.

Just randomise the dat file before starting the test.

>  3.I tried to setup ${_Random(1,10,${SEARCH})} in value of HTTP Request's
>  Send Parameters With the Request:, but after script ran, it looks like
>  _Random function do not work.
>

That should be ${_Random(1,10,SEARCH)}

as you are defining the variable, not referencing it.

>  Would you mind inform how to set Name of Function in Random function?
>
>  Thanks. Xgan
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/How-to-use-_Random-function-tp16048595p16048595.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to