>I need the entirety of my data set to be accessible to every thread in my thread group, Use java (in beanshell or whatever) - your requirement doesnt suit a CSV data set config.
> I need to write some data out to disk right before a thread group tears itself down You'd probably need to work around this. However it sounds that this is a solution you have come up with , rather than the problem by itself. Are you going to maintain everything in memory and share data between threads , that finally one thread must process in some way? Its usually simpler to leverage the standard listeners so that each thread writes whatever it wants and you run a post processing step at the end of the test to get the data as you want. If you still want to do it your way , then I guess one way to do this is the last step of your test case is a synchronizing timer which waits for all threads to reach it, then an if controller which simply allows only 1 thread (using thread number) regards deepak On Sun, Feb 12, 2012 at 6:00 PM, Eric Olson <[email protected]> wrote: > Hi, I have two questions. > > First, is there a way to get a CSV Dat Set Config to read in the entirety > of a CSV into an array? I understand that for a thread group it can read > one line per thread, but that's not what I need. I need the entirety of my > data set to be accessible to every thread in my thread group, so I'd like > to just put it in a once only controller and read the whole thing in to > start my thread group. > > Also, is there a way to make a Once Only controller run only during the > last remaining active thread in my thread group, instead of the first > active thread? I need to write some data out to disk right before a thread > group tears itself down (and because of scope issues it must be within my > thread group). > > -Eric >
