jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: How can get jsessionid and send as parameter in next request?
Date Fri, 18 Sep 2009 14:31:37 GMT
On 18/09/2009, Jatin Davey <jashokda@cisco.com> wrote:
> I used for HTTPS Sessions. I did two things:
>
>  1. While recording , i did not select capturing live HTTP Headers , as
> doing so might igonre cookies. This is what i read from the user manual.

Huh? Where did you read that?

>  2. In the HTTP Samplers , uncheck , "Redirect Automatically"

Yes, this may be necessary; if JMeter does not see the redirects - and
they happen to set cookies -  it won't be able to track those cookies.
If the redirect does not set cookies then auto redirect is fine. This
is documented in the Http sampler section.

>  If you do the above things then you will see Cookies with JSESSIONID in the
> response.
>
>
>  Thanks
>  Jatin
>
>  ajai singh wrote:
>
> > Jatin,
> > Thanks for reply. I used HTTP proxy server to record requests and my
> > requests are HTTP only. What I see is that if Cookie Policy to
> > "ignoreCookies" in HTTP Cookie manager then I get jsessionID in response
> but
> > when i'm using Cookie Policy anything other than it then I do not get
> > jsessionid in response. Is it case for you also?
> >
> > regards,
> > ajai
> >
> > On Fri, Sep 18, 2009 at 1:40 PM, Jatin Davey <jashokda@cisco.com> wrote:
> >
> >
> >
> > > Try recording your actions via HTTP Proxy recorder and then reply them
> in
> > > your test plan. Make sure you spoof HTTPS requests.
> > > I did this and all my responses showed the presence of jsessionID in the
> > > results tree listener.
> > >
> > > Thanks
> > > Jatin
> > >
> > >
> > > ajai singh wrote:
> > >
> > >
> > >
> > > > Hi All,
> > > > does anyone have any idea on following problem?
> > > > regards,
> > > > ajai
> > > >
> > > > On Thu, Sep 17, 2009 at 12:31 PM, ajai singh <aps.ajai@gmail.com>
> wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > All,
> > > > > I'm new to jmeter and using it test portal application. I have
> recorded
> > > > > login sequence and subsequent actions on page.
> > > > > I'm using HTTP cookie manager to manage sessions. Here I have
> selected
> > > > > cookie Policy "compatibility".
> > > > >
> > > > > I used View result tree to see sequence of request/response
> happining. I
> > > > > found that my requests use httpsessionId as parameters in requests
> in
> > > > > SystemPageLoad.dwr and both httpsessionId and scriptSessionId in
> > > > > ReverseAjax.dwr.
> > > > > I could locate scriptSessionId in response message of
> _SystemPageLoad.dwr
> > > > > and using regex Extractor I could get it and use in subsequent
> request.
> > > > > But I'm unable to find httpsessionid anywhere, wchich is essincially
> > > > > jsessionid. I'm not able to find jsessionid or httpSessionId in any
> > > > > response
> > > > > message( I view in View result tree) and donot know any other way
to
> > > > > solve
> > > > > it I'm using DWR version 3.
> > > > > I would appreciate if anybody could help me out on it.
> > > > >
> > > > > regards,
> > > > > ajai
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> >
> >
> >
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message