The session id is returned in the XML response.

I figured out a solution.

I just used a regular expression extractor between the two requests and
it works like a charm.

Thanks!
 - Joe

On Tue, 2007-10-09 at 22:42 +0100, sebb wrote:
> On 09/10/2007, Joseph Monti <[EMAIL PROTECTED]> wrote:
> > I have an XML-based API I am load testing that consists 2 or more page
> > requests that require a session id that is unique across sessions. A
> > session id can be generated and used for each request in that session,
> > or if none is given on the first request one will be returned that must
> > be used for subsequent requests in that session.
> 
> How is the session id returned? Is it a cookie?
> 
> > I have only basic knowledge of jmeter and haven't been able to get
> > something working.
> 
> There's some useful information on the Wiki, and there's lots of info
> in the manual...
> 
> > Is it possible for each iteration for each thread to generate some
> > random number/string that can be used by the HTTP requests in that
> > "session"? I can make the HTTP requests and generate random numbers, but
> > I can't use a single number only across the 2 or so requests in a
> > particular session.
> >
> > Or is there some other way to achieve the same result?
> >
> > I'm guessing there is some combination and sequence of nodes that would
> > do what I need it to do, but I can't figure it out.
> >
> > Thanks!
> >  - Joe
> >
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >  Joseph Monti         Software Engineer             VoodooVox, Inc.
> >  413-663-2816        [EMAIL PROTECTED]
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Joseph Monti         Software Engineer             VoodooVox, Inc.
 413-663-2816        [EMAIL PROTECTED]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to