On 15/12/05, sebb <[EMAIL PROTECTED]> wrote:
> On 15/12/05, Anurodh Jain <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >  Does anybody know how can we ensure that multiple threads reads through
> > each of the
> > lines in a CSV file. Say, for example, my csv file has 10 rows and I have
> > assigned 5 threads
> > to run. Here, I want that all the 5 threads read each of the 10 lines
> > simultaneously.
>
> What do you mean by that?
>
> Do you mean that you want the threads to read the file independently
> of other threads, so each threads gets the same lines?
>
> If so, this is not possible with the current implementation.
>
> Perhaps file a Bugzilla enhancement request.
>
> Or you could try creating one file per thread, e.g. file1.csv,
> file2.csv etc., and use the function ${__threadNum()} in the file
> name.
>
> See http://jakarta.apache.org/jmeter/usermanual/functions.html#__threadNum
>

BTW, just discovered that threadNum() does not work properly in User
Defined Variables; but should be OK in the User Parameters
Pre-Processor, and it works OK in Samplers.

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

Reply via email to