In the same thread you can use vars.putObject in a bsf or beanshell sampler to store an array in a variable. Or you can just iteratively create a jmeter array.
I wrote an addon to allow sharing across threads, see https://github.com/FlyingRhenquest/JmeterThreadGlobal. It's a pretty simple addon and isn't currently set up to share arbitrary objects, but it should be easy to modify to do that. If you used the new setup things you shouldn't have to synchronize between the threads. If it turns out you need to, you can use a synchronizing timer or my thread synchronization sampler (Which is also on github.) All this does add quite a bit of complexity to the test though, so if you're ever going to need to explain it to another tester you might want to simplify your test design. -- Bruce Ide [email protected]
