That's not true - the file is shared between threads. When a thread needs data from the file, it will get the next entry in the file, on a first come first served basis.
On 31/07/07, Avishek Daga <[EMAIL PROTECTED]> wrote: > > Each thread has its own copy of the csv file and iterates through the file > from the start > > > > Knut Borchart wrote: > > > > Hi, > > > > i am experimenting with the csv dataset config but it seems like i do > > not quite understand its inner workings. What i am trying to achieve > > is the following: > > > > - keep a file of usernames, passwords and other config for users > > around which is always 100 lines long. > > - for testing a new jmeter script i would like use different settings > > for threads and repeat (eg. 2 threads, 10 repeats) > > > > I thought that jmeter reads the cvs file at the beginning of the > > testcase, assigns values to the different threads (=users) and thats > > it. But that does not work. With 1 thread and 10 repeats the second > > repeat of the test gets the config for user 2 (=line 2 of csv file). > > So it seems like the file is read in every iteration. > > > > How is the csv config thought to be used? Do i have to exactly match > > the lines in the file to the number of threads i want to use? What if > > one of the threads gets an error and is stopped? Will not the > > correlation between thread <> csv config will be mixed up? > > > > Kind regards, peter > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/CVS-Dataset-Config-Usage--tf4116129.html#a11921316 > 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]

