jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail T." <>
Subject Re: Sharing variables between thread-groups in the same test plan
Date Tue, 11 Sep 2012 20:15:55 GMT
On 11.09.2012 16:06, Jomebrew wrote:
> I did a blog post on my method of sharing variables between thread groups.
> In my case, I needed to pick up a session token and reuse it to
> authenticate a separate connection.
If I understood your solution correctly (it is the "Problem 2" in your post, 
right?), then you are using, what Deepak listed as option a:

On 11.09.2012 14:04, Deepak Shetty wrote:
> a. use properties with a suitable naming convention
> b. write your variables to file and reread them
> c. Use bsh.shared --
> d. Use external plugin
> e. Write your own java class with static variables that work with multiple
> threads that can be read from and use that to set and get your variables

Though your (ab)use of assertions for this purpose is interesting :-) I'd still 
hope, future versions of JMeter would allow the setup-groups' variables to 
simply be seen by other groups without any special efforts...

Thanks! Yours,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message