What I am trying to do is to execute one action from 1st thread group following by making 2nd threadgroup to work afterwards.
I have dependencies and if I will run all the samplers from the 1st thread group and then the second one it will not achieve what I am trying to achieve. This is why I want to run 1st thread group's sampler and then running 2nd thread group's sampler to continue the desired action. Br, Erez -----Original Message----- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Monday, April 20, 2015 7:02 PM To: JMeter Users List Subject: Re: playing with thread groups and samplers I dont understand your response - can you provide an example of what you are trying to do? Whatever you are trying to do conflicts with the natural way JMeter works so you have to have a really good reason if you want to fight the framework(also consider that Jmeter is a multi threaded system and that I'm assuming from the above that the number of threads from Grp 1 must match number of threads from Group 2 ? if so why have 2 thread groups?). You are essentially asking Thread 1 - group 1 should execute 1 sample and then wait till Thread 1 - Group 2 runs a sample then wait, then Thread 1 group 1 runs the next sample (and Im assuming that applies for each thread)- which you can do by coordinating between threads and various types of locks (and killing the throughput that Jmeter can generate). On Mon, Apr 20, 2015 at 8:24 AM, Erez Naim <e...@theneura.com> wrote: > Different logic which encapsulate in each one different idea... > > -----Original Message----- > From: Deepak Shetty [mailto:shet...@gmail.com] > Sent: Monday, April 20, 2015 6:14 PM > To: JMeter Users List > Subject: Re: playing with thread groups and samplers > > And the reason you have two thread groups is ? > > On Mon, Apr 20, 2015 at 1:17 AM, Erez Naim <e...@theneura.com> wrote: > > > Hi all, > > > > > > > > I have the following script: > > > > > > > > 1.Thread Group > > > > + http sampler > > > > + http sampler > > > > + http sampler > > > > > > > > 2.Thread Group > > > > + http sampler > > > > ++ assertion > > > > + http sampler > > > > ++ assertion > > > > + http sampler > > > > ++ assertion > > > > > > > > I wanna be able to run first sampler from first thread group and > > then running first sampler from second thread group then going again > > to the second sampler in first thread group then jumping to second > > thread group to second sampler, is there a way to do it in Jmeter? > > > > > > > > BR, > > > > > > > > > > > > Erez Naim | QA Lead | [image: LinkedIn] > > <http://www.linkedin.com/profile/view?id=34323263> [image: vCard] > > <http://www.theneura.com/vCards/gilad.vcf> [image: Twitter] > > <http://twitter.com/#!/giladmeiri/> > > > > [image: cid:image004.png@01D01E1B.5F153500] > > > > EL AL 2 Street | Herzliya > > mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura > > > > > > > > website <http://www.theneura.com/> | blog > > <http://www.startupbitz.com/> | twitter > > <https://twitter.com/intent/user?screen_name=theneura> | map > > <http://goo.gl/maps/ZRkg5> > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org