Thanks Deepak.
 
What will happen in following scenario?
 
If M [ number of rows in CSV] are 100 and theads configured are 10?
 
Also can you tell what condition I need to set in case 2 i.e. using while 
controller?
 
The CSV dataset configuration shoule be?
 
Recycle on EOF: false
stop thread on EOF: false
sharing mode:???
 
thread group loop count forever?
 
 
Regards,
Ragini

________________________________

From: Deepak Shetty [mailto:[email protected]]
Sent: Sat 8/15/2009 11:23 PM
To: JMeter Users List
Subject: Re: Configuring JMeter CSV Dataset Config to read M rows when number 
of therads are N(N<M)



1. Set the threadgroup to loop forever and on the CSV data set config choose
the Stop Thread on EOF option
OR
1. Use a while controller to loop through the CSV and check that the column
value read is not <EOF>. CSV data set config should have recycle on eof
false and stop thread on eof false
regards
deepak


On Sat, Aug 15, 2009 at 8:13 AM, Ragini Thakur <[email protected]> wrote:

> Hi,
>
> I have a following requirement.
>
> The CSV dataset contain M rows i.e. each row contains data for test case to
> be excuted. I have used CSV data set config in test plan.
>
> To execute the test plan I have set number of threads to M so each thread
> picks up one line from CSV file and execute the test plan.
>
> Now I want to do following.
>
> Suppose to CSV file contains M rows and I want to set thread count to N
> where N < M. In this case each thread should pick up one line. This works
> fine but in this case only N test cases are excuted and not M.
>
> How can I configure CSV data set config? Which other element I can use to
> simulate this behaviour?
>
> This is really urgent appropritate help will be highly appriciated.
>
> Thanks.
> Ragini
>
> "Legal Disclaimer: This electronic message and all contents contain
> information from Cybage Software Private Limited which may be privileged,
> confidential, or otherwise protected from disclosure. The information is
> intended to be for the addressee(s) only. If you are not an addressee, any
> disclosure, copy, distribution, or use of the contents of this message is
> strictly prohibited. If you have received this electronic message in error
> please notify the sender by reply e-mail to and destroy the original message
> and all copies. Cybage has taken every reasonable precaution to minimize the
> risk of malicious content in the mail, but is not liable for any damage you
> may sustain as a result of any malicious content in this e-mail. You should
> carry out your own malicious content checks before opening the e-mail or
> attachment."
> www.cybage.com
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to