You can read jsession from file: and add this user defined variable in Test Plan name: jes_id value: ${__CSVRead(jsession.txt,0)} this supposed to be seen across all threads and if you need just one jsession this will do
or read it with CSV Data into variable in every TG and then add to every ThreadGroup cookie manager (you have to have cookie manager in every TG or so i think) and declare user-defined cookie value JSESSIONID ${jes_id} domain path or you can parse jsession id wherever you get it for the first time and save it as property and then use in cookie manager add the same line JSESSIONID ${jes_id} domain path where jes_id will be yours jsession from property the point is you have to add cookie manager to thread and declare JSESSIONID there On Fri, Jun 24, 2011 at 2:13 PM, jagdeepjain01 <jagdeep.j...@gmail.com>wrote: > Hi, > > I am having different thread groups in my jmeter test plan and I want to > maintain same jsessionid across all thread groups. Can anyone help here? > > For example below is the test plan looks like: > > Test Plan > -Thread Group 1 (run once) > - Login > -Thread Group 2 (I will run this multiple times) > - Do some opeartion > -Thread Group 3 (run once) > - Logout > > I want to pass sessionid from Thread Group 1 to Thread Group 2 and 3 > > Thanks, > Jagdeep > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/how-to-maintain-Jsessionid-across-different-thread-groups-tp4520662p4520662.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >