On 13 May 2011 15:49, Janine DeBeradinis <jdeberadi...@higherone.com> wrote: > Hello Again - > > I have another question regarding passing variables in JMeter between > different thread groups in a test plan. It looks like if a variable is > defined on the Test Plan itself, all Thread Groups have access to that > variable. If a variable is defined as a User Defined Variable, then only the > Thread Group that defined that variable has access to that variable (no other > Thread Groups can see that variable). Is my understanding correct?
Yes, you have understood the scope correctly. Howver, note that variable values are local to a thread. A thread that changes the variable will only change it for that thread. > Also, if you have two thread groups in a Test Plan, and thread group one > calls another test with an include controller, and gets some variables back > from that test via an XPath Extraction, the second thread group in the Test > Plan does not have access to those variable. It this understanding correct? Not sure what the include controller has to do with it. Otherwise same as above. > > Thanks. > > Janine > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org