Have a look at this.. http://osdir.com/ml/jakarta.jmeter.user/2003-08/msg00238.html
The best way to do it would be Use a single thread with Controllers that decide which Sampler Request should be executed. User Defined Variables - Config Element will not help as they are initialized before you extract the Session Information Hope this helps Thanks Pramod -----Original Message----- From: Mark24 [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 1:04 PM To: [email protected] Subject: how do I pass a value obtained in "Thread Group 1" (with "XPath Extractor" from a "WebService(SOAP) Request") to "Thread Group 2" for use as input to "WebService(SOAP) Request" In Jmeter 2.3.2, how do I pass a value obtained in "Thread Group 1" (with "XPath Extractor" from a "WebService(SOAP) Request") to "Thread Group 2" for use as input to "WebService(SOAP) Request" Graphically: "Thread Group 1" "WebService(SOAP) Request" //login() WS method which returns a security ID "XPath Extractor" //extract security ID to security_ID variable "Thread Group 2" "WebService(SOAP) Request" //use ${security_ID} as a parameter to this Search() WS method Variable security_ID declared in "Thread Group 1"'s "XPath Extractor" seems to be very narrowly scoped as "${security_ID}" is literally used as input to "Thread Group 2"'s "WebService(SOAP) Request" instead of the value of ${security_ID}. I've tried declaring the security_ID variable in "Test Plan to use" but this doesn't work (${security_ID} resolves to the value i set during declaration instead of the extracted value). Thanks for any help, Mark -- View this message in context: http://www.nabble.com/how-do-I-pass-a-value-obtained-in-%22Thread-Group- 1%22-%28with-%22XPath-Extractor%22-from-a-%22WebService%28SOAP%29-Reques t%22%29-to-%22Thread-Group-2%22-for-use-as-input-to-%22WebService%28SOAP %29-Request%22-tp19683794p19683794.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you received this email in error, please contact the sender immediately by reply e-mail and destroy all copies of the original message. This email is not intended as an offer or solicitation for the purchase or sale of any financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

