jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <>
Subject Re: How to capture a value in one of the thread and passing it to the other thread in the same test plan
Date Mon, 09 Jan 2012 15:11:09 GMT
Hello Bruce,

A little note about
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 request:


And I agree with you sharing WRITE ALSO data between threads is a bad idea
and maybe reveals a Test Plan misconception.


On Mon, Jan 9, 2012 at 3:58 PM, Bruce Ide <> wrote:

> Usually you don't want to do that. Threads make your test much more
> complicated, and you must take into account timing, locking and
> synchronization issues that can make things very unpredictable. In the vast
> majority of cases where someone is attempting to use threads, there is no
> reason to. If your test has the same user doing things one after another
> and you're trying to use threads to do this, rewrite your test to be
> linear.
> If you really must use threads after all that discouraging, I wrote a small
> plugin that enables passing data between threads. There are probably more
> intuitive ways it could work, but it worked for what I needed it to. You
> can find it at You
> might also want to look at my thread synchronization plugin, which I like
> slightly more than the stock jmeter thread synchronization time.
> --
> Bruce Ide

Philippe Mouawad.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message