On 6 December 2010 16:51, thanh nguyen <[email protected]> wrote: > Hi all, > > In my script, I want the first thread to do an activity X, and the second > one to do activity Y. For each thread I want they keep doing their activity > forever. I have a CSV Data Set Config at the beginning of my script. I put > the activity number in the CSV file and I want Jmeter to read it when it > starts a new thread. But I don't want it reads the file in the next > iterations (because the first thread will read the activity Y) > > My question: how can I do it? My Thread Group's loop count is set to > forever. > > I don't want to use the While controller because I want to use the cache > manager's "clear cache each iteration" feature. > > > The following illustrates my script: > > Tesplan > +CSV Data Set Config > +Thread Group > + Switch Controller > + Simple Controller: activity X > + Simple Controller: activity Y >
Try: TestPlan + ThreadGroup (loop count = 1) + CSV Data Set Config + Loop Controller + + rest of test plan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

