Sorry I misread your question. I thought you meant between multiple threads. Typically tests are not structured this way, the data that a single thread needs is normally represented in a single row in a CSV
What are you doing with your HTTP request (i.e, why do you need these as separate samplers)? if you are just requesting it directly then While Controller HTTP request CSV DataSet will have the effect that you want Im not sure if a workaround exists for what you want to do , If i had to guess I'd have to use a while controller with an Interleave controller, but I havent tried it. You also need to answer what you expect to happen if you run your test for two threads (does each thread pick up the same data , or does it pick up different data , if different , then you cannot guarantee which thread will pick up which row , if same then its not very useful) regards deepak On Tue, Nov 10, 2009 at 10:21 AM, Harry_ <[email protected]> wrote: > > Thanks for replying Deepak > > I have used the default setting "All Threads". It works like this: > - In First loop first http sampler reads first value, second http sampler > also reads first value from csv file.... > - In Second loop first http sampler reads second value, second http sampler > also reads second value from csv file... > - and so on... > > What I want is: > - In First loop first http sampler reads first value, second http sampler > reads second value from csv file.... > - In Second loop first http sampler reads third value, second http sampler > reads fourth value from csv file... > - and so on... > > I am right now working with a workaround by placing each http request under > separate thread group with which next csv value is read from the file. But > it would be far better if individual http request samplers can read next > value from csv rather then same value for a loop. > > Regards > > > Deepak Shetty wrote: > > > > hi > > Thread Group or All Threads. > > > > regards > > deepak > > > > On Tue, Nov 10, 2009 at 8:40 AM, Harry_ <[email protected]> wrote: > > > >> > >> Hi, > >> > >> I have created Test Plan a thread group in which there are two http > >> requests > >> sampler. The path for the http request is read from the file (${URL}) > >> specified in CSV Data Set Config element. > >> > >> Now when I run run this Jmeter plan, both the http requests reads the > >> same > >> value and hits the same url. > >> > >> What should I do so that each http sampler hits next page from the csv > >> file. > >> I saw Sharing Mode Options in CSV file which are All Threads, Current > >> Thread > >> Group, Current Thread and Edit. Can anyone tell me what should I write > in > >> the sharing mode so that each http request sampler picks its own next > >> request from the csv. > >> > >> Reagrds > >> -- > >> View this message in context: > >> > http://old.nabble.com/Reading-value-from-CSV-file...-tp26286740p26286740.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Reading-value-from-CSV-file...-tp26286740p26287366.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

