Yes, Regex is pretty easy. I created a similar test script recently and could pass that sessionID throughout the script. That SessionID was a part of the response that I processed it through Regex.
-----Original Message----- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, June 23, 2009 8:49 AM To: JMeter Users List Subject: Re: How to pass on Session id in case of Web Services Hi you haven't provided details, when you login to the application, how do you get the session id? is it part of the response , a cookie, is the returned data xml ? is it html? whats it returned as etc... Regex extractors are pretty easy and sound like what you need...but post processors like xpath extractor and beanshell extractors might also work.. regards deepak On Mon, Jun 22, 2009 at 11:18 PM, Rekha Malik <rekha_ma...@infosys.com>wrote: > Hi, > > Yes, I am making a separate call to get this session id. I am logging into > an application and want to retain that session id for testing the rest of > the web services in my application. Please suggest some easy method to do > this as I am not comfortable in using Regular expression extractor method. > > Thanks, > Rekha > > -----Original Message----- > From: Deepak Shetty [mailto:shet...@gmail.com] > Sent: Monday, June 22, 2009 9:25 PM > To: JMeter Users List > Subject: Re: How to pass on Session id in case of Web Services > > depends on how you are getting the session id . Most webservices do not use > the Server http session id, are you making a separate call to get the > session id? > regards > deepak > > On Sun, Jun 21, 2009 at 10:48 PM, Rekha Malik <rekha_ma...@infosys.com > >wrote: > > > Hi, > > > > I am using JMeter for testing of web services. But my I am not able to > pass > > on the session id. > > Please guide me how to do it as I am using Jmeter for the first time. > > > > Thanks, > > Rekha > > > > > > > > **************** CAUTION - Disclaimer ***************** > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > solely > > for the use of the addressee(s). If you are not the intended recipient, > > please > > notify the sender by e-mail and delete the original message. Further, you > > are not > > to copy, disclose, or distribute this e-mail or its contents to any other > > person and > > any such actions are unlawful. This e-mail may contain viruses. Infosys > has > > taken > > every reasonable precaution to minimize this risk, but is not liable for > > any damage > > you may sustain as a result of any virus in this e-mail. You should carry > > out your > > own virus checks before opening the e-mail or attachment. Infosys > reserves > > the > > right to monitor and review the content of all messages sent to or from > > this e-mail > > address. Messages sent to or from this e-mail address may be stored on > the > > Infosys e-mail system. > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org