title: How do I pass a variable from one Thread Group to another in JMeter
body: <p>I have a JMeter test with 2 Thread Groups - the first is a single thread (which creates some inventory) and the second has multiple threads (which purchase all the inventory). I use BeanShell Assertions and XPath Extractors to parse the returned value (which is XML) and store variables (such as the ids of the items to be purchased). </p>
  
  <p>But, values that are created in the first Thread Group, whether extracted into standard <code>${jmeter}</code> type variables, or <code>${__BeanShell(vars.get("jmeter"))}</code> type vars, are not available in the second Thread Group. Is there anyway to create a variable in the first Thread Group and make it visible to the second?</p>