Hi danimni, If you want to pause thread 1 until some event happens in thread 2 you could use Inter-Thread Communication (http://jmeter-plugins.org/wiki/InterThreadCommunication/?utm_source=jmeter&utm_medium=helplink&utm_campaign=InterThreadCommunication) or some other queue implementation in JSR223 sampler.
VR -----Original Message----- From: danimni [mailto:[email protected]] Sent: Sunday, March 08, 2015 2:51 PM To: [email protected] Subject: Is there a way to pause/resume thread group according to variable value? Hi All, In my test, i have two 'Thread Groups' that run concurrently. in the *second *'Thread Groups' i have a sample that requires the *first *'Thread Groups' to pause, so I’ve defined property, shared between both Thread Groups. In the first 'Thread Groups', I have “IF” controller that checks the value of that property and pauses (using 'Test Action' element) the all threads accordingly. The process of the *second *thread group *max timeout* is 10 minutes, so in the "pause" 'Test Action' element, I set 600,000 before resuming. In most cases, the process takes 1-2 minutes. the problem *i can't resume the first thread group dynamically*. it "must" wait all 10 minutes before resuming.. is there another way to do so? -- View this message in context: http://jmeter.512774.n5.nabble.com/Is-there-a-way-to-pause-resume-thread-group-according-to-variable-value-tp5721901.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
