jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: CVS Dataset Config Usage?
Date Thu, 09 Aug 2007 10:14:30 GMT
I forgot to say that the file is currently shared between thread groups as well.

If you want the file to be used independently in different thread
groups, a work-round is to use a copy of the file, or use a different
name for the same file, e.g.

data.csv
./data.csv

On 09/08/07, sebb <sebbaz@gmail.com> wrote:
> 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 <avishekdaga@gmail.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> > --
> > 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: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message