I've found the following idiom useful:

${__CSVRead(data_file.txt,${__Random(1,500,)})}

This way, the data that's picked from the file is random, and if it's a large enough 
file, that 
might solve your problem.

Another way to do it would be to break the data file into a number of pieces equal to 
the 
number of remote machines you have.

-Mike

On 26 Aug 2003 at 9:29, [EMAIL PROTECTED] wrote:

> 
> 
> 
> 
> Hi,
> 
> I'm using JMeter to load test a web app and need to simulate a number of
> users logging on and saving some data. To get the load that we need I have
> to use a number of machines using the remote testing model which is causing
> some problems with the db updates. Because each machine uses the same data
> file for their userid's and passwords each machine starts off with the same
> userid and gets concurrent update problems when they access the db.
> 
> What I'd like to do is either back each machine off for a random period so
> that the chances of this are reduced or ideally get each machine to start
> at a random spot in the user parameters file so they each pick up a
> different userid. Has onyone done something similar to this or have any
> ideas on how I could get this to work. I'm using the CSVREAD function to
> read the user parameters from the file
> 
> Thanks
> 
> Andrew
> 
> 
> 
> ************************************************************
> Opinions contained in this e-mail do not necessarily reflect
> the opinions of the Queensland Department of Main Roads,
> Queensland Transport or National Transport Secretariat, or
> endorsed organisations utilising the same infrastructure.
> If you have received this electronic mail message in error,
> please immediately notify the sender and delete the message
> from your computer.
> ************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

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

Reply via email to