Why not randomise the file contents?

This is what we do for our testing.
We use StringFromFile, but the principle is the same.

S.
On 27/09/05, m mat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want my threads to read random rows from a cSV file.  Any way to do this? 
> If I put
> a line like the following for a value from the CSV file,
> ${__CSVRead(${perftest_home}\data\topics.csv,0)}  
> ${__CSVRead(${perftest_home}\data\topics.csv,next)}
>
> I see that all threads read the next row, for example thread 1 gets row 1 
> thread 2 gets row 2 etc. Also I am not sure what the next iteration of each 
> thread will get.
>
> What I would like is each iteration in each thread gets a completely random 
> row?
>
> Any thoughts?
>
> Matt
>
> m mat <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am a beginner with JMeter.
>
> How do I read random rows from a CSV file for the purpose of random 
> parametrization?
>
> Matt
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> ---------------------------------
> Yahoo! for Good
>  Click here to donate to the Hurricane Katrina relief effort.
>

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

Reply via email to