I tried that but it runs per Thread/User. I need it ro run ONCE, set some variables and then run any number of threads/users.
On Mon, Oct 8, 2012 at 2:29 PM, Niraj <[email protected]> wrote: > Try with "Once Only Controller". Add the request under this controller. > > On Mon, Oct 8, 2012 at 6:50 PM, rakesh mailgroups < > [email protected]> wrote: > > > Hi, > > > > is it possible to have a Sampler run only once per test, not per > > User(thread)? > > > > The sampler goes to a url and through a Regex Extractor, sets variable > for > > later use. At the moment, the call always happens per User, I just need > it > > to run once to set the variables. > > > > I also tried using a setUp Thread Group but the variables were out of > scope > > in the main thread group. > > > > Any advice? > > > > Thanks > > > > Rakesh > > >
