I vouch for Redis plugin:http://jmeter-plugins.org/wiki/RedisDataSet/
It can do wonders, which you can't dream of doing using the basic CSV sampler. In your case, you need unique data per request, this use case probably perfectly fits to the reason why Redis plugin was built. Alternatively, if you are working with smaller data set you may also want to try using __CSVRead() function, which offers a feature that lets to pick the next line but I am not sure if it lets you get unique rows across all the threads. Thanks Chaitanya M Bhatt http://www.performancecompetence.com On Mon, Jun 15, 2015 at 11:19 AM, James Yu <[email protected]> wrote: > Hi all, > > My test plan is like this: > Test plan > Thread group (loop = forever) > CSV data config (recycle on EOF = false, stop thread on EOF = true) > Simple controller > HTTP sampler1 > HTTP sampler2 > Result tree > > I would like to have HTTP sample1 and HTTP sampler2 to read 1st and 2nd > line from my CSV file, So I would see only 2 entries in Result tree (one > from sampler1 and the other from sampler2). > However, what I get is both 1st and 2nd lines from my CSV are apply to HTTP > sampler1 and HTTP sampler2, which means I have 4 entries in Result tree > (two from sampler1 and the other two from sampler2). > > How can I achieve my original goal that each line of CSV is used on one > sampler only? > > Thank you. > > > This is a UTF-8 formatted mail > ----------------------------------------------- > James C.-C.Yu > +886988713275 >
