Hi I would think that the setup thread group is what you are looking for - http://jmeter.apache.org/usermanual/component_reference.html#setUp_Thread_Group
However if you do want it in the same thread group , the easiest is probably use an IF controller alongwith threadNum <http://jmeter.apache.org/usermanual/functions.html#__threadNum> function ( http://jmeter.apache.org/usermanual/functions.html) - i.e. check if thread number is 1 then do something else dont. If you want ever other thread to wait till this operation is done then use a Synchronizing timer on the next request (with total number of threads specified in the number of simulated users to group by field ) On Tue, Dec 1, 2015 at 5:01 AM, Erez Naim <[email protected]> wrote: > Hi all, > > How do I make a sampler in Jmeter to run only one time for 100 users? > What I am trying to do is connecting to a data base and to check the > queue... however if I want to do it in the same thread group it will > connect 100 times to the database and I don't want it to connect 100 > times... > I am trying to find a way to connect only once and from there checking > only one time what is the queue status .... > > Best regards, > > Erez > >
