Re: How to capture a value in one of the thread and passing it to the other thread in the same test plan

2012-01-09 Thread waseemfa
HI, Basically there is no way of doing this in JMeter. the one thing i can think of is use the appropriate method to get the data and store it in a user defined property like ${__setProperty(input, ${input})}; and in the next thread group access the input variable just like any other property

Re: How to capture a value in one of the thread and passing it to the other thread in the same test plan

2012-01-09 Thread Philippe Mouawad
Hello Bruce, A little note about FlyingRhenqueshttps://github.com/FlyingRhenquest/JmeterThreadGlobalt, looking at code it seems to me synchronization can only work if one JVM is used right ? Note that if you're willing to, your feature could be useful in JMeter and answser user enhancement

Re: How to capture a value in one of the thread and passing it to the other thread in the same test plan

2012-01-09 Thread Bruce Ide
Hmm. I'm not using semaphores in JmeterThreadSync, but you could easily modify just the CheckPointObject to acquire them. Though it might be easier to check for unreleased semaphores in the Config element at test start or test end time. The couple of tests I wrote with this code were very complex

RE: How to capture a value in one of the thread and passing it to the other thread in the same test plan

2012-01-09 Thread Robin D. Wilson
I've used Properties before... I have this in one of my test plans (in a User Parameters pre-processor) : threadStartTime = ${__javaScript(var ms = new Date; ms.getTime();)} theTime = ${__setProperty(ThreadStartTime, ${threadStartTime})} (theTime variable isn't used anywhere).