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.
http://www.jomebrew.com/2011/10/jmeter-random-transactions-and-sharing.html Cheers! On Tue, Sep 11, 2012 at 1:01 PM, Mikhail T. <[email protected]>wrote: > On 11.09.2012 15:55, Anthony Johnson wrote: > >> Everyone likes follow-up questions in separate threads, but you can use a >> Setup Thread Group: >> >> http://jmeter.apache.org/**usermanual/component_** >> reference.html#setUp_Thread_**Group<http://jmeter.apache.org/usermanual/component_reference.html#setUp_Thread_Group> >> > > Great, thank you... Would it not be considered reasonable, if variables > set in these special thread-groups were, in fact, automatically available > to all subsequent groups (both normal and the tear-down ones)? > > I realize, this is not the case now, but if it is not against the > architectural philosophy of JMeter, perhaps, I can request a future > enhancement? > > Yours, > > -mi > >
