hi, the variable defined in UDV and by post-processors is global and therefore accessible in all threads. but due to synchronization, you might need it in thread group 2 sooner then it is actually updated in thread group 1. this is why you didn't get what you expected in thread group 2 and, btw, it is normal behaviour. if you actually need thread group 2 to synchronize with what is happening in thread group 1, then you will need to add more logic to your test plan. and if both thread groups have more then 1 threads active at the same time, things will get really complicated. however, if this is the way you want to do it, consider this (as it might be very useful): http://jmeter.apache.org/usermanual/best-practices.html#beanshell_server --Adrian S. On Wed, Aug 29, 2012 at 11:42 AM, frank wrote: > i have a test plan like next : > > Test Plan > |__UDV > | > |__thread group 1 > | | > | |__soap/xml-rpc request > | | > | |__xpath extractor > | > |__thread group 2 > | > |__http request > > i want to define a variable 'test' in UDV, then i want to extract something > from xml-rpc request and store the extraction result into the variable > 'test' which defined in UDV, assume the extraction result is '123', > > then i want to use the extraction result '123' in thread group 2, > > i defined the 'reference name' is 'test' too in xpath extractor, but > actually in thread group 2, the ${test} is not the extraction result, > > so how can i do? or is there any other solution? > > Thanks in advance > > > > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/use-extraction-result-in-other-thread-group-tp5714575.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > >