You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by deepak va <de...@hotmail.com> on 2006/12/07 10:38:04 UTC
How to extract cookie information from response header
Hi,
How do i extract the coookie informaion from the response header returned by
the sever.
2006-12-07 09:24:59 RequestDumperValve[Standalone]:
header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
Regards
Deepak
_________________________________________________________________
Catch all the cricketing action right here. Live score, match reports,
photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi Deepak,
Thats what i am telling to u also.First check whether reqular expression is
correct JSESSIONID value or not.
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Mahesh,
>
> I record a scenario using the proxy server. The recorded HTTP request is
> as
> below.
>
> 1) First Request (GET Method is used)
>
> /jsp/index.jsp
>
> 2) Second Request (Post Method is used)
>
> /jsp/index.jsp;jsessionid=808B400A9CA3CHJKKKKPLK
>
> When i re-execute, It is executed successfully.
>
> It works fine as long as the server is not restarted. Once server is
> restarted, the second request fails to login to the application.
>
> So tried using the Reg Expression to extract the JSESSIONID from the first
> request. But it is not working.
>
> Please suggest what needs to be done.
>
> Regards
> Deepak
>
>
> >From: "mahesh kumar" <pm...@gmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 16:09:17 +0530
> >
> >Hi,
> >First we have to check whether same JSESSIONID is passing to next URL
> >or not.And
> >also first print the value of JSESSIONID.Whether reqular expression is
> >taking this value correctly or not.
> >
> >Regards,
> >Mahesh
> >
> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>
> >>HI Mahesh,
> >>
> >>Thanks a lot. But when the value of JSESSIONID is used in the next
> >>request,
> >>it is being passed as false.Please let me know what i have missed.
> >>
> >>Regards
> >>Deepak
> >>
> >>
> >> >From: "mahesh kumar" <pm...@gmail.com>
> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >Subject: Re: How to extract cookie information from response header
> >> >Date: Thu, 7 Dec 2006 15:22:49 +0530
> >> >
> >> >Hi,
> >> >For extracting cookies from the header first add the reqular
> expression
> >> >extractor(Add->PostProcessor->Reqular Expression Extractor) for that
> >> >URL.There is a option in Response Field check (select Radio button for
> >> >Header) in that regular expression extraction.This option is there in
> >> >latest
> >> >version of Jmeter also.
> >> >
> >> >Here is the reqular expression:
> >> >
> >> >Reference Name: JSESSIONID
> >> >Reqular Expression: Set-Cookie=JSESSIONID=(.*?);
> >> >Template: $1$
> >> >Match No: 1
> >> >Default Value: FALSE
> >> >
> >> >I think this will soive u r problem.....
> >> >
> >> >Regards,
> >> >Mahesh
> >> >
> >> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >> >>
> >> >>Hi,
> >> >>
> >> >>How do i extract the coookie informaion from the response header
> >>returned
> >> >>by
> >> >>the sever.
> >> >>
> >> >>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >> >>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >> >>
> >> >>
> >> >>Regards
> >> >>Deepak
> >> >>
> >> >>_________________________________________________________________
> >> >>Catch all the cricketing action right here. Live score, match
> reports,
> >> >>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >> >>
> >> >>
> >> >>---------------------------------------------------------------------
> >> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >>
> >>_________________________________________________________________
> >>Catch all the cricketing action right here. Live score, match reports,
> >>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
>
> _________________________________________________________________
> Discover. Explore. Connect-Windows Live Spaces. Check out!
> http://www.msnspecials.in/windowslive/livespaces.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
I record a scenario using the proxy server. The recorded HTTP request is as
below.
1) First Request (GET Method is used)
/jsp/index.jsp
2) Second Request (Post Method is used)
/jsp/index.jsp;jsessionid=808B400A9CA3CHJKKKKPLK
When i re-execute, It is executed successfully.
It works fine as long as the server is not restarted. Once server is
restarted, the second request fails to login to the application.
So tried using the Reg Expression to extract the JSESSIONID from the first
request. But it is not working.
Please suggest what needs to be done.
Regards
Deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:09:17 +0530
>
>Hi,
>First we have to check whether same JSESSIONID is passing to next URL
>or not.And
>also first print the value of JSESSIONID.Whether reqular expression is
>taking this value correctly or not.
>
>Regards,
>Mahesh
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>HI Mahesh,
>>
>>Thanks a lot. But when the value of JSESSIONID is used in the next
>>request,
>>it is being passed as false.Please let me know what i have missed.
>>
>>Regards
>>Deepak
>>
>>
>> >From: "mahesh kumar" <pm...@gmail.com>
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >Subject: Re: How to extract cookie information from response header
>> >Date: Thu, 7 Dec 2006 15:22:49 +0530
>> >
>> >Hi,
>> >For extracting cookies from the header first add the reqular expression
>> >extractor(Add->PostProcessor->Reqular Expression Extractor) for that
>> >URL.There is a option in Response Field check (select Radio button for
>> >Header) in that regular expression extraction.This option is there in
>> >latest
>> >version of Jmeter also.
>> >
>> >Here is the reqular expression:
>> >
>> >Reference Name: JSESSIONID
>> >Reqular Expression: Set-Cookie=JSESSIONID=(.*?);
>> >Template: $1$
>> >Match No: 1
>> >Default Value: FALSE
>> >
>> >I think this will soive u r problem.....
>> >
>> >Regards,
>> >Mahesh
>> >
>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
>> >>
>> >>Hi,
>> >>
>> >>How do i extract the coookie informaion from the response header
>>returned
>> >>by
>> >>the sever.
>> >>
>> >>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>> >>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>> >>
>> >>
>> >>Regards
>> >>Deepak
>> >>
>> >>_________________________________________________________________
>> >>Catch all the cricketing action right here. Live score, match reports,
>> >>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>> >>
>> >>
>> >>---------------------------------------------------------------------
>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>>
>>_________________________________________________________________
>>Catch all the cricketing action right here. Live score, match reports,
>>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Discover. Explore. Connect-Windows Live Spaces. Check out!
http://www.msnspecials.in/windowslive/livespaces.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi,
First we have to check whether same JSESSIONID is passing to next URL
or not.And
also first print the value of JSESSIONID.Whether reqular expression is
taking this value correctly or not.
Regards,
Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> HI Mahesh,
>
> Thanks a lot. But when the value of JSESSIONID is used in the next
> request,
> it is being passed as false.Please let me know what i have missed.
>
> Regards
> Deepak
>
>
> >From: "mahesh kumar" <pm...@gmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 15:22:49 +0530
> >
> >Hi,
> >For extracting cookies from the header first add the reqular expression
> >extractor(Add->PostProcessor->Reqular Expression Extractor) for that
> >URL.There is a option in Response Field check (select Radio button for
> >Header) in that regular expression extraction.This option is there in
> >latest
> >version of Jmeter also.
> >
> >Here is the reqular expression:
> >
> >Reference Name: JSESSIONID
> >Reqular Expression: Set-Cookie=JSESSIONID=(.*?);
> >Template: $1$
> >Match No: 1
> >Default Value: FALSE
> >
> >I think this will soive u r problem.....
> >
> >Regards,
> >Mahesh
> >
> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>
> >>Hi,
> >>
> >>How do i extract the coookie informaion from the response header
> returned
> >>by
> >>the sever.
> >>
> >>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >>
> >>
> >>Regards
> >>Deepak
> >>
> >>_________________________________________________________________
> >>Catch all the cricketing action right here. Live score, match reports,
> >>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
>
> _________________________________________________________________
> Catch all the cricketing action right here. Live score, match reports,
> photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
HI Mahesh,
Thanks a lot. But when the value of JSESSIONID is used in the next request,
it is being passed as false.Please let me know what i have missed.
Regards
Deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 15:22:49 +0530
>
>Hi,
>For extracting cookies from the header first add the reqular expression
>extractor(Add->PostProcessor->Reqular Expression Extractor) for that
>URL.There is a option in Response Field check (select Radio button for
>Header) in that regular expression extraction.This option is there in
>latest
>version of Jmeter also.
>
>Here is the reqular expression:
>
>Reference Name: JSESSIONID
>Reqular Expression: Set-Cookie=JSESSIONID=(.*?);
>Template: $1$
>Match No: 1
>Default Value: FALSE
>
>I think this will soive u r problem.....
>
>Regards,
>Mahesh
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>Hi,
>>
>>How do i extract the coookie informaion from the response header returned
>>by
>>the sever.
>>
>>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>>
>>
>>Regards
>>Deepak
>>
>>_________________________________________________________________
>>Catch all the cricketing action right here. Live score, match reports,
>>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Catch all the cricketing action right here. Live score, match reports,
photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi,
For extracting cookies from the header first add the reqular expression
extractor(Add->PostProcessor->Reqular Expression Extractor) for that
URL.There is a option in Response Field check (select Radio button for
Header) in that regular expression extraction.This option is there in latest
version of Jmeter also.
Here is the reqular expression:
Reference Name: JSESSIONID
Reqular Expression: Set-Cookie=JSESSIONID=(.*?);
Template: $1$
Match No: 1
Default Value: FALSE
I think this will soive u r problem.....
Regards,
Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi,
>
> How do i extract the coookie informaion from the response header returned
> by
> the sever.
>
> 2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>
>
> Regards
> Deepak
>
> _________________________________________________________________
> Catch all the cricketing action right here. Live score, match reports,
> photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi Deepak,
I think that value is not rquired.Fine whether the regular expression is
taking the value correctly ot not.For auto login u have to add HTTP
authorization manager.Did u tried with this one or not.
----Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Mahesh,
>
> It worked with small changes as below
> jsessionid=(.+?)\"
>
> but still this does not solve the problem. as it still does not allow the
> user to login.
>
> There are sum hidden form fields. Which get new value for every iteration.
> I think we need to extraxt and pas them also. what do you say. The
> parameter
> is as below.
>
> Name : com.sun.faces.VIEW
> Value : _id187:_id188
>
> Regards
> deepak
>
>
> >From: "mahesh kumar" <pm...@gmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 17:26:56 +0530
> >
> >HiDeepak,
> >This is the Regular Expression for that one:
> >
> >jsessionid=(.*?)\"height
> >
> >If any apace is there in between " and height the u ahve to put \s+.I put
> \
> >before " because " is a escaps characer in JAVA script.Just like if space
> >is
> >there u ahve to put \s+.....You told me that u r getting FALSE means u r
> >regular expression is not working properly..Please check the radio button
> >checked for header or not.And also check whether really sessionid is
> there
> >in headers or not.For checking this one we can use HTTP watch.This one is
> a
> >tool which can give header info as well as response info also..
> >
> >Before that first check u r regular expression deepak....
> >
> >----Mahesh
> >
> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>
> >>Hi Mahesh,
> >>
> >>Me not good in RE. Please let me know how to get the value of jsession
> id
> >>from this.
> >>
> >><img
> >>
>
> >>src="../../rtw-cep/images/header/Logo.gif;jsessionid=36817F264B7BDE708738674A50F525F8"
> >>height="60" width="175" alt="" /></td>
> >>
> >>
> >>Regards
> >>Deepak
> >>
> >>
> >> >From: "deepak va" <de...@hotmail.com>
> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >To: jmeter-user@jakarta.apache.org
> >> >Subject: Re: How to extract cookie information from response header
> >> >Date: Thu, 07 Dec 2006 16:53:24 +0530
> >> >
> >> >Hi Mahesh,
> >> >
> >> >I have done the same, but it is taking the default value as false. How
> >>do
> >> >in confirm that the
> >> >response header has the value for JSESSIONID and whether my extraction
> >> >script is correct or not.
> >> >
> >> >Regards
> >> >Deepak
> >> >
> >> >
> >> >>From: "mahesh kumar" <pm...@gmail.com>
> >> >>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>Subject: Re: How to extract cookie information from response header
> >> >>Date: Thu, 7 Dec 2006 16:44:38 +0530
> >> >>
> >> >>Hi deepak,
> >> >>After capturring the JSESSIONID from the previous page.Place the
> >> >>JSESSIONID
> >> >>like this.
> >> >>
> >> >>/jsp/index.jsp;jsessionid=${JSESSIONID}
> >> >>
> >> >>Then that URL automatically take the new session id.
> >> >>
> >> >>----Mahesh
> >> >>
> >> >>On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >> >>>
> >> >>>Hi Mahesh,
> >> >>>
> >> >>>I will try this. But the second request is as below. How do i get
> the
> >> >>>JSESSIONID to pass with this request.
> >> >>>
> >> >>>1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is
> returned
> >>by
> >> >>>the server in the login form page)
> >> >>>2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
> >> >>>
> >> >>>Regards
> >> >>>Deepak
> >> >>>
> >> >>>
> >> >>> >From: "mahesh kumar" <pm...@gmail.com>
> >> >>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>> >Subject: Re: How to extract cookie information from response
> header
> >> >>> >Date: Thu, 7 Dec 2006 16:17:10 +0530
> >> >>> >
> >> >>> >Hi,
> >> >>> >If u are using Cookie manger and if u r website is having user
> name
> >>and
> >> >>> >password.Then u have to add HTTP authotization manager.In that we
> >>have
> >> >>>to
> >> >>> >specify URL,User name and password then u r problem will sove.
> >> >>> >
> >> >>> >Base URL: URL Name(like www.google.com)
> >> >>> >user name: User name that is using for login
> >> >>> >Password: password which is using
> >> >>> >
> >> >>> >Regards,
> >> >>> >Mahesh
> >> >>> >
> >> >>> >
> >> >>> >Details:
> >> >>> >
> >> >>> >
> >> >>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >> >>> >>
> >> >>> >>Hi Subhrajyoti,
> >> >>> >>
> >> >>> >>When i add the Cookie Manager, iam not even able to log into the
> >> >>> >>application.
> >> >>> >>
> >> >>> >>Regards
> >> >>> >>Deepak
> >> >>> >>
> >> >>> >>
> >> >>> >> >From: Choudhury@labware.com
> >> >>> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >>> >> >CC: jmeter-user@jakarta.apache.org
> >> >>> >> >Subject: Re: How to extract cookie information from response
> >>header
> >> >>> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >> >>> >> >
> >> >>> >> >use the cookie manager and add it at the thread group level and
> >>it
> >> >>>will
> >> >>> >>do
> >> >>> >> >the job for you.
> >> >>> >> >
> >> >>> >> >Regards,
> >> >>> >> >
> >> >>> >> >Subhrajyoti
> >> >>> >> >Mobile: +919830079545
> >> >>> >> >Mail: choudhury@labware.com
> >> >>> >> >Web: www.labware.com
> >> >>> >> >
> >> >>> >> >LabWare LIMS Solutions - Results Count
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >"deepak va" <de...@hotmail.com>
> >> >>> >> >12/07/2006 03:08 PM
> >> >>> >> >Please respond to
> >> >>> >> >"JMeter Users List" <jm...@jakarta.apache.org>
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >To
> >> >>> >> >jmeter-user@jakarta.apache.org
> >> >>> >> >cc
> >> >>> >> >
> >> >>> >> >Subject
> >> >>> >> >How to extract cookie information from response header
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >Hi,
> >> >>> >> >
> >> >>> >> >How do i extract the coookie informaion from the response
> header
> >> >>> >>returned
> >> >>> >> >by
> >> >>> >> >the sever.
> >> >>> >> >
> >> >>> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >> >>> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >Regards
> >> >>> >> >Deepak
> >> >>> >> >
> >> >>> >>
> >_________________________________________________________________
> >> >>> >> >Catch all the cricketing action right here. Live score, match
> >> >>>reports,
> >> >>> >> >photos et al.
> >>http://content.msn.co.in/Sports/Cricket/Default.aspx
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>>
> >> >---------------------------------------------------------------------
> >> >>> >> >To unsubscribe, e-mail:
> >>jmeter-user-unsubscribe@jakarta.apache.org
> >> >>> >> >For additional commands, e-mail:
> >>jmeter-user-help@jakarta.apache.org
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>> >>_________________________________________________________________
> >> >>> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN
> >>Search
> >> >>> >>http://server1.msn.co.in/profile/shahrukh.asp
> >> >>> >>
> >> >>> >>
> >> >>>
> >> >>---------------------------------------------------------------------
> >> >>> >>To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> >> >>> >>For additional commands, e-mail:
> >>jmeter-user-help@jakarta.apache.org
> >> >>> >>
> >> >>> >>
> >> >>>
> >> >>>_________________________________________________________________
> >> >>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN
> Search
> >> >>>http://server1.msn.co.in/profile/shahrukh.asp
> >> >>>
> >> >>>
> >>
> >>>---------------------------------------------------------------------
> >> >>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>>
> >> >>>
> >> >
> >> >_________________________________________________________________
> >> >Spice up your IM conversations. New, colorful and animated emoticons.
> >>Get
> >> >chatting! http://server1.msn.co.in/SP05/emoticons/
> >> >
> >> >
> >> >---------------------------------------------------------------------
> >> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >>
> >>_________________________________________________________________
> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> >>http://server1.msn.co.in/profile/shahrukh.asp
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
>
> _________________________________________________________________
> Get up-to-date with movies, music and TV. Its happening on MSN
> Entertainment
> http://content.msn.co.in/Entertainment/Default
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
It worked with small changes as below
jsessionid=(.+?)\"
but still this does not solve the problem. as it still does not allow the
user to login.
There are sum hidden form fields. Which get new value for every iteration.
I think we need to extraxt and pas them also. what do you say. The parameter
is as below.
Name : com.sun.faces.VIEW
Value : _id187:_id188
Regards
deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 17:26:56 +0530
>
>HiDeepak,
>This is the Regular Expression for that one:
>
>jsessionid=(.*?)\"height
>
>If any apace is there in between " and height the u ahve to put \s+.I put \
>before " because " is a escaps characer in JAVA script.Just like if space
>is
>there u ahve to put \s+.....You told me that u r getting FALSE means u r
>regular expression is not working properly..Please check the radio button
>checked for header or not.And also check whether really sessionid is there
>in headers or not.For checking this one we can use HTTP watch.This one is a
>tool which can give header info as well as response info also..
>
>Before that first check u r regular expression deepak....
>
>----Mahesh
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>Hi Mahesh,
>>
>>Me not good in RE. Please let me know how to get the value of jsession id
>>from this.
>>
>><img
>>
>>src="../../rtw-cep/images/header/Logo.gif;jsessionid=36817F264B7BDE708738674A50F525F8"
>>height="60" width="175" alt="" /></td>
>>
>>
>>Regards
>>Deepak
>>
>>
>> >From: "deepak va" <de...@hotmail.com>
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: jmeter-user@jakarta.apache.org
>> >Subject: Re: How to extract cookie information from response header
>> >Date: Thu, 07 Dec 2006 16:53:24 +0530
>> >
>> >Hi Mahesh,
>> >
>> >I have done the same, but it is taking the default value as false. How
>>do
>> >in confirm that the
>> >response header has the value for JSESSIONID and whether my extraction
>> >script is correct or not.
>> >
>> >Regards
>> >Deepak
>> >
>> >
>> >>From: "mahesh kumar" <pm...@gmail.com>
>> >>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>Subject: Re: How to extract cookie information from response header
>> >>Date: Thu, 7 Dec 2006 16:44:38 +0530
>> >>
>> >>Hi deepak,
>> >>After capturring the JSESSIONID from the previous page.Place the
>> >>JSESSIONID
>> >>like this.
>> >>
>> >>/jsp/index.jsp;jsessionid=${JSESSIONID}
>> >>
>> >>Then that URL automatically take the new session id.
>> >>
>> >>----Mahesh
>> >>
>> >>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>> >>>
>> >>>Hi Mahesh,
>> >>>
>> >>>I will try this. But the second request is as below. How do i get the
>> >>>JSESSIONID to pass with this request.
>> >>>
>> >>>1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned
>>by
>> >>>the server in the login form page)
>> >>>2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
>> >>>
>> >>>Regards
>> >>>Deepak
>> >>>
>> >>>
>> >>> >From: "mahesh kumar" <pm...@gmail.com>
>> >>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>> >Subject: Re: How to extract cookie information from response header
>> >>> >Date: Thu, 7 Dec 2006 16:17:10 +0530
>> >>> >
>> >>> >Hi,
>> >>> >If u are using Cookie manger and if u r website is having user name
>>and
>> >>> >password.Then u have to add HTTP authotization manager.In that we
>>have
>> >>>to
>> >>> >specify URL,User name and password then u r problem will sove.
>> >>> >
>> >>> >Base URL: URL Name(like www.google.com)
>> >>> >user name: User name that is using for login
>> >>> >Password: password which is using
>> >>> >
>> >>> >Regards,
>> >>> >Mahesh
>> >>> >
>> >>> >
>> >>> >Details:
>> >>> >
>> >>> >
>> >>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
>> >>> >>
>> >>> >>Hi Subhrajyoti,
>> >>> >>
>> >>> >>When i add the Cookie Manager, iam not even able to log into the
>> >>> >>application.
>> >>> >>
>> >>> >>Regards
>> >>> >>Deepak
>> >>> >>
>> >>> >>
>> >>> >> >From: Choudhury@labware.com
>> >>> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >>> >> >CC: jmeter-user@jakarta.apache.org
>> >>> >> >Subject: Re: How to extract cookie information from response
>>header
>> >>> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
>> >>> >> >
>> >>> >> >use the cookie manager and add it at the thread group level and
>>it
>> >>>will
>> >>> >>do
>> >>> >> >the job for you.
>> >>> >> >
>> >>> >> >Regards,
>> >>> >> >
>> >>> >> >Subhrajyoti
>> >>> >> >Mobile: +919830079545
>> >>> >> >Mail: choudhury@labware.com
>> >>> >> >Web: www.labware.com
>> >>> >> >
>> >>> >> >LabWare LIMS Solutions - Results Count
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >"deepak va" <de...@hotmail.com>
>> >>> >> >12/07/2006 03:08 PM
>> >>> >> >Please respond to
>> >>> >> >"JMeter Users List" <jm...@jakarta.apache.org>
>> >>> >> >
>> >>> >> >
>> >>> >> >To
>> >>> >> >jmeter-user@jakarta.apache.org
>> >>> >> >cc
>> >>> >> >
>> >>> >> >Subject
>> >>> >> >How to extract cookie information from response header
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >Hi,
>> >>> >> >
>> >>> >> >How do i extract the coookie informaion from the response header
>> >>> >>returned
>> >>> >> >by
>> >>> >> >the sever.
>> >>> >> >
>> >>> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>> >>> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>> >>> >> >
>> >>> >> >
>> >>> >> >Regards
>> >>> >> >Deepak
>> >>> >> >
>> >>> >> >_________________________________________________________________
>> >>> >> >Catch all the cricketing action right here. Live score, match
>> >>>reports,
>> >>> >> >photos et al.
>>http://content.msn.co.in/Sports/Cricket/Default.aspx
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>>
>> >---------------------------------------------------------------------
>> >>> >> >To unsubscribe, e-mail:
>>jmeter-user-unsubscribe@jakarta.apache.org
>> >>> >> >For additional commands, e-mail:
>>jmeter-user-help@jakarta.apache.org
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>_________________________________________________________________
>> >>> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN
>>Search
>> >>> >>http://server1.msn.co.in/profile/shahrukh.asp
>> >>> >>
>> >>> >>
>> >>>
>> >>---------------------------------------------------------------------
>> >>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>> >>For additional commands, e-mail:
>>jmeter-user-help@jakarta.apache.org
>> >>> >>
>> >>> >>
>> >>>
>> >>>_________________________________________________________________
>> >>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>> >>>http://server1.msn.co.in/profile/shahrukh.asp
>> >>>
>> >>>
>> >>>---------------------------------------------------------------------
>> >>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>>
>> >>>
>> >
>> >_________________________________________________________________
>> >Spice up your IM conversations. New, colorful and animated emoticons.
>>Get
>> >chatting! http://server1.msn.co.in/SP05/emoticons/
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>>
>>_________________________________________________________________
>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>>http://server1.msn.co.in/profile/shahrukh.asp
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment
http://content.msn.co.in/Entertainment/Default
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
HiDeepak,
This is the Regular Expression for that one:
jsessionid=(.*?)\"height
If any apace is there in between " and height the u ahve to put \s+.I put \
before " because " is a escaps characer in JAVA script.Just like if space is
there u ahve to put \s+.....You told me that u r getting FALSE means u r
regular expression is not working properly..Please check the radio button
checked for header or not.And also check whether really sessionid is there
in headers or not.For checking this one we can use HTTP watch.This one is a
tool which can give header info as well as response info also..
Before that first check u r regular expression deepak....
----Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Mahesh,
>
> Me not good in RE. Please let me know how to get the value of jsession id
> from this.
>
> <img
>
> src="../../rtw-cep/images/header/Logo.gif;jsessionid=36817F264B7BDE708738674A50F525F8"
> height="60" width="175" alt="" /></td>
>
>
> Regards
> Deepak
>
>
> >From: "deepak va" <de...@hotmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: jmeter-user@jakarta.apache.org
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 07 Dec 2006 16:53:24 +0530
> >
> >Hi Mahesh,
> >
> >I have done the same, but it is taking the default value as false. How do
> >in confirm that the
> >response header has the value for JSESSIONID and whether my extraction
> >script is correct or not.
> >
> >Regards
> >Deepak
> >
> >
> >>From: "mahesh kumar" <pm...@gmail.com>
> >>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>Subject: Re: How to extract cookie information from response header
> >>Date: Thu, 7 Dec 2006 16:44:38 +0530
> >>
> >>Hi deepak,
> >>After capturring the JSESSIONID from the previous page.Place the
> >>JSESSIONID
> >>like this.
> >>
> >>/jsp/index.jsp;jsessionid=${JSESSIONID}
> >>
> >>Then that URL automatically take the new session id.
> >>
> >>----Mahesh
> >>
> >>On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>>
> >>>Hi Mahesh,
> >>>
> >>>I will try this. But the second request is as below. How do i get the
> >>>JSESSIONID to pass with this request.
> >>>
> >>>1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned
> by
> >>>the server in the login form page)
> >>>2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
> >>>
> >>>Regards
> >>>Deepak
> >>>
> >>>
> >>> >From: "mahesh kumar" <pm...@gmail.com>
> >>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>> >Subject: Re: How to extract cookie information from response header
> >>> >Date: Thu, 7 Dec 2006 16:17:10 +0530
> >>> >
> >>> >Hi,
> >>> >If u are using Cookie manger and if u r website is having user name
> and
> >>> >password.Then u have to add HTTP authotization manager.In that we
> have
> >>>to
> >>> >specify URL,User name and password then u r problem will sove.
> >>> >
> >>> >Base URL: URL Name(like www.google.com)
> >>> >user name: User name that is using for login
> >>> >Password: password which is using
> >>> >
> >>> >Regards,
> >>> >Mahesh
> >>> >
> >>> >
> >>> >Details:
> >>> >
> >>> >
> >>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>> >>
> >>> >>Hi Subhrajyoti,
> >>> >>
> >>> >>When i add the Cookie Manager, iam not even able to log into the
> >>> >>application.
> >>> >>
> >>> >>Regards
> >>> >>Deepak
> >>> >>
> >>> >>
> >>> >> >From: Choudhury@labware.com
> >>> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >>> >> >CC: jmeter-user@jakarta.apache.org
> >>> >> >Subject: Re: How to extract cookie information from response
> header
> >>> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >>> >> >
> >>> >> >use the cookie manager and add it at the thread group level and it
> >>>will
> >>> >>do
> >>> >> >the job for you.
> >>> >> >
> >>> >> >Regards,
> >>> >> >
> >>> >> >Subhrajyoti
> >>> >> >Mobile: +919830079545
> >>> >> >Mail: choudhury@labware.com
> >>> >> >Web: www.labware.com
> >>> >> >
> >>> >> >LabWare LIMS Solutions - Results Count
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >"deepak va" <de...@hotmail.com>
> >>> >> >12/07/2006 03:08 PM
> >>> >> >Please respond to
> >>> >> >"JMeter Users List" <jm...@jakarta.apache.org>
> >>> >> >
> >>> >> >
> >>> >> >To
> >>> >> >jmeter-user@jakarta.apache.org
> >>> >> >cc
> >>> >> >
> >>> >> >Subject
> >>> >> >How to extract cookie information from response header
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >Hi,
> >>> >> >
> >>> >> >How do i extract the coookie informaion from the response header
> >>> >>returned
> >>> >> >by
> >>> >> >the sever.
> >>> >> >
> >>> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >>> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >>> >> >
> >>> >> >
> >>> >> >Regards
> >>> >> >Deepak
> >>> >> >
> >>> >> >_________________________________________________________________
> >>> >> >Catch all the cricketing action right here. Live score, match
> >>>reports,
> >>> >> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >>> >> >
> >>> >> >
> >>> >>
> >>> >---------------------------------------------------------------------
> >>> >> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>> >> >For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> >>> >> >
> >>> >> >
> >>> >>
> >>> >>_________________________________________________________________
> >>> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN
> Search
> >>> >>http://server1.msn.co.in/profile/shahrukh.asp
> >>> >>
> >>> >>
> >>>
> >>---------------------------------------------------------------------
> >>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>> >>
> >>> >>
> >>>
> >>>_________________________________________________________________
> >>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> >>>http://server1.msn.co.in/profile/shahrukh.asp
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>>
> >>>
> >
> >_________________________________________________________________
> >Spice up your IM conversations. New, colorful and animated emoticons. Get
> >chatting! http://server1.msn.co.in/SP05/emoticons/
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
> _________________________________________________________________
> Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> http://server1.msn.co.in/profile/shahrukh.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
Me not good in RE. Please let me know how to get the value of jsession id
from this.
<img
src="../../rtw-cep/images/header/Logo.gif;jsessionid=36817F264B7BDE708738674A50F525F8"
height="60" width="175" alt="" /></td>
Regards
Deepak
>From: "deepak va" <de...@hotmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: jmeter-user@jakarta.apache.org
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 07 Dec 2006 16:53:24 +0530
>
>Hi Mahesh,
>
>I have done the same, but it is taking the default value as false. How do
>in confirm that the
>response header has the value for JSESSIONID and whether my extraction
>script is correct or not.
>
>Regards
>Deepak
>
>
>>From: "mahesh kumar" <pm...@gmail.com>
>>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>>To: "JMeter Users List" <jm...@jakarta.apache.org>
>>Subject: Re: How to extract cookie information from response header
>>Date: Thu, 7 Dec 2006 16:44:38 +0530
>>
>>Hi deepak,
>>After capturring the JSESSIONID from the previous page.Place the
>>JSESSIONID
>>like this.
>>
>>/jsp/index.jsp;jsessionid=${JSESSIONID}
>>
>>Then that URL automatically take the new session id.
>>
>>----Mahesh
>>
>>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>>
>>>Hi Mahesh,
>>>
>>>I will try this. But the second request is as below. How do i get the
>>>JSESSIONID to pass with this request.
>>>
>>>1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned by
>>>the server in the login form page)
>>>2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
>>>
>>>Regards
>>>Deepak
>>>
>>>
>>> >From: "mahesh kumar" <pm...@gmail.com>
>>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>>> >Subject: Re: How to extract cookie information from response header
>>> >Date: Thu, 7 Dec 2006 16:17:10 +0530
>>> >
>>> >Hi,
>>> >If u are using Cookie manger and if u r website is having user name and
>>> >password.Then u have to add HTTP authotization manager.In that we have
>>>to
>>> >specify URL,User name and password then u r problem will sove.
>>> >
>>> >Base URL: URL Name(like www.google.com)
>>> >user name: User name that is using for login
>>> >Password: password which is using
>>> >
>>> >Regards,
>>> >Mahesh
>>> >
>>> >
>>> >Details:
>>> >
>>> >
>>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>> >>
>>> >>Hi Subhrajyoti,
>>> >>
>>> >>When i add the Cookie Manager, iam not even able to log into the
>>> >>application.
>>> >>
>>> >>Regards
>>> >>Deepak
>>> >>
>>> >>
>>> >> >From: Choudhury@labware.com
>>> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>>> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>>> >> >CC: jmeter-user@jakarta.apache.org
>>> >> >Subject: Re: How to extract cookie information from response header
>>> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
>>> >> >
>>> >> >use the cookie manager and add it at the thread group level and it
>>>will
>>> >>do
>>> >> >the job for you.
>>> >> >
>>> >> >Regards,
>>> >> >
>>> >> >Subhrajyoti
>>> >> >Mobile: +919830079545
>>> >> >Mail: choudhury@labware.com
>>> >> >Web: www.labware.com
>>> >> >
>>> >> >LabWare LIMS Solutions - Results Count
>>> >> >
>>> >> >
>>> >> >
>>> >> >"deepak va" <de...@hotmail.com>
>>> >> >12/07/2006 03:08 PM
>>> >> >Please respond to
>>> >> >"JMeter Users List" <jm...@jakarta.apache.org>
>>> >> >
>>> >> >
>>> >> >To
>>> >> >jmeter-user@jakarta.apache.org
>>> >> >cc
>>> >> >
>>> >> >Subject
>>> >> >How to extract cookie information from response header
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >Hi,
>>> >> >
>>> >> >How do i extract the coookie informaion from the response header
>>> >>returned
>>> >> >by
>>> >> >the sever.
>>> >> >
>>> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>>> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>>> >> >
>>> >> >
>>> >> >Regards
>>> >> >Deepak
>>> >> >
>>> >> >_________________________________________________________________
>>> >> >Catch all the cricketing action right here. Live score, match
>>>reports,
>>> >> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>>> >> >
>>> >> >
>>> >>
>>> >---------------------------------------------------------------------
>>> >> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> >> >
>>> >> >
>>> >>
>>> >>_________________________________________________________________
>>> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>>> >>http://server1.msn.co.in/profile/shahrukh.asp
>>> >>
>>> >>
>>> >>---------------------------------------------------------------------
>>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> >>
>>> >>
>>>
>>>_________________________________________________________________
>>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>>>http://server1.msn.co.in/profile/shahrukh.asp
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>
>_________________________________________________________________
>Spice up your IM conversations. New, colorful and animated emoticons. Get
>chatting! http://server1.msn.co.in/SP05/emoticons/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
I have done the same, but it is taking the default value as false. How do in
confirm that the
response header has the value for JSESSIONID and whether my extraction
script is correct or not.
Regards
Deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:44:38 +0530
>
>Hi deepak,
>After capturring the JSESSIONID from the previous page.Place the JSESSIONID
>like this.
>
>/jsp/index.jsp;jsessionid=${JSESSIONID}
>
>Then that URL automatically take the new session id.
>
>----Mahesh
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>Hi Mahesh,
>>
>>I will try this. But the second request is as below. How do i get the
>>JSESSIONID to pass with this request.
>>
>>1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned by
>>the server in the login form page)
>>2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
>>
>>Regards
>>Deepak
>>
>>
>> >From: "mahesh kumar" <pm...@gmail.com>
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >Subject: Re: How to extract cookie information from response header
>> >Date: Thu, 7 Dec 2006 16:17:10 +0530
>> >
>> >Hi,
>> >If u are using Cookie manger and if u r website is having user name and
>> >password.Then u have to add HTTP authotization manager.In that we have
>>to
>> >specify URL,User name and password then u r problem will sove.
>> >
>> >Base URL: URL Name(like www.google.com)
>> >user name: User name that is using for login
>> >Password: password which is using
>> >
>> >Regards,
>> >Mahesh
>> >
>> >
>> >Details:
>> >
>> >
>> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
>> >>
>> >>Hi Subhrajyoti,
>> >>
>> >>When i add the Cookie Manager, iam not even able to log into the
>> >>application.
>> >>
>> >>Regards
>> >>Deepak
>> >>
>> >>
>> >> >From: Choudhury@labware.com
>> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >> >CC: jmeter-user@jakarta.apache.org
>> >> >Subject: Re: How to extract cookie information from response header
>> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
>> >> >
>> >> >use the cookie manager and add it at the thread group level and it
>>will
>> >>do
>> >> >the job for you.
>> >> >
>> >> >Regards,
>> >> >
>> >> >Subhrajyoti
>> >> >Mobile: +919830079545
>> >> >Mail: choudhury@labware.com
>> >> >Web: www.labware.com
>> >> >
>> >> >LabWare LIMS Solutions - Results Count
>> >> >
>> >> >
>> >> >
>> >> >"deepak va" <de...@hotmail.com>
>> >> >12/07/2006 03:08 PM
>> >> >Please respond to
>> >> >"JMeter Users List" <jm...@jakarta.apache.org>
>> >> >
>> >> >
>> >> >To
>> >> >jmeter-user@jakarta.apache.org
>> >> >cc
>> >> >
>> >> >Subject
>> >> >How to extract cookie information from response header
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >Hi,
>> >> >
>> >> >How do i extract the coookie informaion from the response header
>> >>returned
>> >> >by
>> >> >the sever.
>> >> >
>> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>> >> >
>> >> >
>> >> >Regards
>> >> >Deepak
>> >> >
>> >> >_________________________________________________________________
>> >> >Catch all the cricketing action right here. Live score, match
>>reports,
>> >> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>> >> >
>> >> >
>> >> >---------------------------------------------------------------------
>> >> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >> >
>> >> >
>> >>
>> >>_________________________________________________________________
>> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>> >>http://server1.msn.co.in/profile/shahrukh.asp
>> >>
>> >>
>> >>---------------------------------------------------------------------
>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>>
>>_________________________________________________________________
>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>>http://server1.msn.co.in/profile/shahrukh.asp
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get
chatting! http://server1.msn.co.in/SP05/emoticons/
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi deepak,
After capturring the JSESSIONID from the previous page.Place the JSESSIONID
like this.
/jsp/index.jsp;jsessionid=${JSESSIONID}
Then that URL automatically take the new session id.
----Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Mahesh,
>
> I will try this. But the second request is as below. How do i get the
> JSESSIONID to pass with this request.
>
> 1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned by
> the server in the login form page)
> 2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
>
> Regards
> Deepak
>
>
> >From: "mahesh kumar" <pm...@gmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 16:17:10 +0530
> >
> >Hi,
> >If u are using Cookie manger and if u r website is having user name and
> >password.Then u have to add HTTP authotization manager.In that we have to
> >specify URL,User name and password then u r problem will sove.
> >
> >Base URL: URL Name(like www.google.com)
> >user name: User name that is using for login
> >Password: password which is using
> >
> >Regards,
> >Mahesh
> >
> >
> >Details:
> >
> >
> >On 12/7/06, deepak va <de...@hotmail.com> wrote:
> >>
> >>Hi Subhrajyoti,
> >>
> >>When i add the Cookie Manager, iam not even able to log into the
> >>application.
> >>
> >>Regards
> >>Deepak
> >>
> >>
> >> >From: Choudhury@labware.com
> >> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >> >CC: jmeter-user@jakarta.apache.org
> >> >Subject: Re: How to extract cookie information from response header
> >> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >> >
> >> >use the cookie manager and add it at the thread group level and it
> will
> >>do
> >> >the job for you.
> >> >
> >> >Regards,
> >> >
> >> >Subhrajyoti
> >> >Mobile: +919830079545
> >> >Mail: choudhury@labware.com
> >> >Web: www.labware.com
> >> >
> >> >LabWare LIMS Solutions - Results Count
> >> >
> >> >
> >> >
> >> >"deepak va" <de...@hotmail.com>
> >> >12/07/2006 03:08 PM
> >> >Please respond to
> >> >"JMeter Users List" <jm...@jakarta.apache.org>
> >> >
> >> >
> >> >To
> >> >jmeter-user@jakarta.apache.org
> >> >cc
> >> >
> >> >Subject
> >> >How to extract cookie information from response header
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >Hi,
> >> >
> >> >How do i extract the coookie informaion from the response header
> >>returned
> >> >by
> >> >the sever.
> >> >
> >> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >> >
> >> >
> >> >Regards
> >> >Deepak
> >> >
> >> >_________________________________________________________________
> >> >Catch all the cricketing action right here. Live score, match reports,
> >> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >> >
> >> >
> >> >---------------------------------------------------------------------
> >> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >> >
> >>
> >>_________________________________________________________________
> >>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> >>http://server1.msn.co.in/profile/shahrukh.asp
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
>
> _________________________________________________________________
> Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> http://server1.msn.co.in/profile/shahrukh.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
I will try this. But the second request is as below. How do i get the
JSESSIONID to pass with this request.
1) /phw-p/faces/phasewatcher-p/jsp/index.jsp(Here JSESSION is returned by
the server in the login form page)
2) /jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9
Regards
Deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:17:10 +0530
>
>Hi,
>If u are using Cookie manger and if u r website is having user name and
>password.Then u have to add HTTP authotization manager.In that we have to
>specify URL,User name and password then u r problem will sove.
>
>Base URL: URL Name(like www.google.com)
>user name: User name that is using for login
>Password: password which is using
>
>Regards,
>Mahesh
>
>
>Details:
>
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>Hi Subhrajyoti,
>>
>>When i add the Cookie Manager, iam not even able to log into the
>>application.
>>
>>Regards
>>Deepak
>>
>>
>> >From: Choudhury@labware.com
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >CC: jmeter-user@jakarta.apache.org
>> >Subject: Re: How to extract cookie information from response header
>> >Date: Thu, 7 Dec 2006 15:23:10 +0530
>> >
>> >use the cookie manager and add it at the thread group level and it will
>>do
>> >the job for you.
>> >
>> >Regards,
>> >
>> >Subhrajyoti
>> >Mobile: +919830079545
>> >Mail: choudhury@labware.com
>> >Web: www.labware.com
>> >
>> >LabWare LIMS Solutions - Results Count
>> >
>> >
>> >
>> >"deepak va" <de...@hotmail.com>
>> >12/07/2006 03:08 PM
>> >Please respond to
>> >"JMeter Users List" <jm...@jakarta.apache.org>
>> >
>> >
>> >To
>> >jmeter-user@jakarta.apache.org
>> >cc
>> >
>> >Subject
>> >How to extract cookie information from response header
>> >
>> >
>> >
>> >
>> >
>> >
>> >Hi,
>> >
>> >How do i extract the coookie informaion from the response header
>>returned
>> >by
>> >the sever.
>> >
>> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>> >
>> >
>> >Regards
>> >Deepak
>> >
>> >_________________________________________________________________
>> >Catch all the cricketing action right here. Live score, match reports,
>> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>>
>>_________________________________________________________________
>>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>>http://server1.msn.co.in/profile/shahrukh.asp
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi,
If u are using Cookie manger and if u r website is having user name and
password.Then u have to add HTTP authotization manager.In that we have to
specify URL,User name and password then u r problem will sove.
Base URL: URL Name(like www.google.com)
user name: User name that is using for login
Password: password which is using
Regards,
Mahesh
Details:
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Subhrajyoti,
>
> When i add the Cookie Manager, iam not even able to log into the
> application.
>
> Regards
> Deepak
>
>
> >From: Choudhury@labware.com
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >CC: jmeter-user@jakarta.apache.org
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >
> >use the cookie manager and add it at the thread group level and it will
> do
> >the job for you.
> >
> >Regards,
> >
> >Subhrajyoti
> >Mobile: +919830079545
> >Mail: choudhury@labware.com
> >Web: www.labware.com
> >
> >LabWare LIMS Solutions - Results Count
> >
> >
> >
> >"deepak va" <de...@hotmail.com>
> >12/07/2006 03:08 PM
> >Please respond to
> >"JMeter Users List" <jm...@jakarta.apache.org>
> >
> >
> >To
> >jmeter-user@jakarta.apache.org
> >cc
> >
> >Subject
> >How to extract cookie information from response header
> >
> >
> >
> >
> >
> >
> >Hi,
> >
> >How do i extract the coookie informaion from the response header returned
> >by
> >the sever.
> >
> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >
> >
> >Regards
> >Deepak
> >
> >_________________________________________________________________
> >Catch all the cricketing action right here. Live score, match reports,
> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> _________________________________________________________________
> Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> http://server1.msn.co.in/profile/shahrukh.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Mahesh,
Thanks for your responses. Iam trying these options as suggested , but you
know the Expression extractor is not able to get the JSESSION ID. How do i
see the response headers in JMETER or do i have to see on the server only.
Regards
Deepak
>From: "mahesh kumar" <pm...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:51:16 +0530
>
>Hi Deepak,
>
>Don't hard code the JSESSSIONID.Capture that one from previous mail and
>replace the JSESSSIONID with that variable as i already mentioned this one
>in previous mail please check it once.For auto login to website user HTTP
>Authorized manager.THis one also i already mentioned in the previous
>mail......
>
>I think this will solve u r problem......
>-------Mahesh
>
>On 12/7/06, deepak va <de...@hotmail.com> wrote:
>>
>>Hi Subhrajyoti,
>>
>>Totally agree with you that i was using a hard coded jsessionid . But when
>>i
>>remove it and add the cookie manager. It does not work. It just will not
>>log
>>into the application.
>>
>>Regards
>>Deeapk
>>
>>
>> >From: Choudhury@labware.com
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >Subject: Re: How to extract cookie information from response header
>> >Date: Thu, 7 Dec 2006 16:42:17 +0530
>> >
>> >I think you have recorded the clicks via http proxy recording
>> >facility..right?So in case u have done this u need to remove the
>>following
>> >part from all of ur samplers....
>> >;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.ie just keep /jsp/index.jsp
>> >as the second request. Then add the cookie manager at the thread group
>> >level and see it should work for u.ur problem was u were testing with a
>> >hard coded jsession id so far.
>> >
>> >
>> >Regards,
>> >
>> >Subhrajyoti
>> >Mobile: +919830079545
>> >Mail: choudhury@labware.com
>> >Web: www.labware.com
>> >
>> >LabWare LIMS Solutions - Results Count
>> >
>> >
>> >
>> >"deepak va" <de...@hotmail.com>
>> >12/07/2006 04:27 PM
>> >Please respond to
>> >"JMeter Users List" <jm...@jakarta.apache.org>
>> >
>> >
>> >To
>> >jmeter-user@jakarta.apache.org
>> >cc
>> >
>> >Subject
>> >Re: How to extract cookie information from response header
>> >
>> >
>> >
>> >
>> >
>> >
>> >HI Subhrajyoti
>> >
>> >
>> >You are right, the server is checking the requested cookie and also
>> >sending
>> >back the same along with the response.
>> >
>> >But the second request in the application is as below.
>> >
>> >/jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.
>> >
>> >How do i pass the JSESSIONID value here. When i record the scenario this
>> >value is written automatically. This works as long as server is not
>> >restarted. Once the server is restarted, it fails to recognises this
>> >JSESSIONID. Hence iam unable to log into the application.
>> >
>> >Regards
>> >Deepak
>> >
>> >
>> > >From: Choudhury@labware.com
>> > >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> > >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> > >Subject: Re: How to extract cookie information from response header
>> > >Date: Thu, 7 Dec 2006 16:13:59 +0530
>> > >
>> > >The following is from jmeter documentation:
>> > >
>> > >
>> > >"The Cookie Manager element has two functions:
>> > >
>> > >First, it stores and sends cookies just like a web browser. If you
>>have
>> >an
>> > >HTTP Request and the response contains a cookie, the Cookie Manager
>> > >automatically stores that cookie and will use it for all future
>>requests
>> > >to that particular web site. Each JMeter thread has its own "cookie
>> > >storage area". So, if you are testing a web site that uses a cookie
>>for
>> > >storing session information, each JMeter thread will have its own
>> >session.
>> > >"
>> > >
>> > >So if your app is relying on cookies to store session info , adding
>>the
>> > >cookie manager at the thread group level should solve ur purpose. Set
>>the
>> > >cookie policy to "compatibility".
>> > >
>> > >
>> > >
>> > >Regards,
>> > >
>> > >Subhrajyoti
>> > >Mobile: +919830079545
>> > >Mail: choudhury@labware.com
>> > >Web: www.labware.com
>> > >
>> > >LabWare LIMS Solutions - Results Count
>> > >
>> > >
>> > >
>> > >"deepak va" <de...@hotmail.com>
>> > >12/07/2006 04:05 PM
>> > >Please respond to
>> > >"JMeter Users List" <jm...@jakarta.apache.org>
>> > >
>> > >
>> > >To
>> > >jmeter-user@jakarta.apache.org
>> > >cc
>> > >
>> > >Subject
>> > >Re: How to extract cookie information from response header
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >Hi Subhrajyoti,
>> > >
>> > >When i add the Cookie Manager, iam not even able to log into the
>> > >application.
>> > >
>> > >Regards
>> > >Deepak
>> > >
>> > >
>> > > >From: Choudhury@labware.com
>> > > >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> > > >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> > > >CC: jmeter-user@jakarta.apache.org
>> > > >Subject: Re: How to extract cookie information from response header
>> > > >Date: Thu, 7 Dec 2006 15:23:10 +0530
>> > > >
>> > > >use the cookie manager and add it at the thread group level and it
>>will
>> > >do
>> > > >the job for you.
>> > > >
>> > > >Regards,
>> > > >
>> > > >Subhrajyoti
>> > > >Mobile: +919830079545
>> > > >Mail: choudhury@labware.com
>> > > >Web: www.labware.com
>> > > >
>> > > >LabWare LIMS Solutions - Results Count
>> > > >
>> > > >
>> > > >
>> > > >"deepak va" <de...@hotmail.com>
>> > > >12/07/2006 03:08 PM
>> > > >Please respond to
>> > > >"JMeter Users List" <jm...@jakarta.apache.org>
>> > > >
>> > > >
>> > > >To
>> > > >jmeter-user@jakarta.apache.org
>> > > >cc
>> > > >
>> > > >Subject
>> > > >How to extract cookie information from response header
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >Hi,
>> > > >
>> > > >How do i extract the coookie informaion from the response header
>> >returned
>> > > >by
>> > > >the sever.
>> > > >
>> > > >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>> > > >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>> > > >
>> > > >
>> > > >Regards
>> > > >Deepak
>> > > >
>> > > >_________________________________________________________________
>> > > >Catch all the cricketing action right here. Live score, match
>>reports,
>> > > >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>> > > >
>> > > >
>> > >
>> >---------------------------------------------------------------------
>> > > >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > > >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> > > >
>> > > >
>> > >
>> > >_________________________________________________________________
>> > >Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>> > >http://server1.msn.co.in/profile/shahrukh.asp
>> > >
>> > >
>> > >---------------------------------------------------------------------
>> > >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> > >
>> > >
>> >
>> >_________________________________________________________________
>> >Get up-to-date with movies, music and TV. Its happening on MSN
>> >Entertainment
>> >http://content.msn.co.in/Entertainment/Default
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>>
>>_________________________________________________________________
>>Spice up your IM conversations. New, colorful and animated emoticons. Get
>>chatting! http://server1.msn.co.in/SP05/emoticons/
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment
http://content.msn.co.in/Entertainment/Default
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by mahesh kumar <pm...@gmail.com>.
Hi Deepak,
Don't hard code the JSESSSIONID.Capture that one from previous mail and
replace the JSESSSIONID with that variable as i already mentioned this one
in previous mail please check it once.For auto login to website user HTTP
Authorized manager.THis one also i already mentioned in the previous
mail......
I think this will solve u r problem......
-------Mahesh
On 12/7/06, deepak va <de...@hotmail.com> wrote:
>
> Hi Subhrajyoti,
>
> Totally agree with you that i was using a hard coded jsessionid . But when
> i
> remove it and add the cookie manager. It does not work. It just will not
> log
> into the application.
>
> Regards
> Deeapk
>
>
> >From: Choudhury@labware.com
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 16:42:17 +0530
> >
> >I think you have recorded the clicks via http proxy recording
> >facility..right?So in case u have done this u need to remove the
> following
> >part from all of ur samplers....
> >;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.ie just keep /jsp/index.jsp
> >as the second request. Then add the cookie manager at the thread group
> >level and see it should work for u.ur problem was u were testing with a
> >hard coded jsession id so far.
> >
> >
> >Regards,
> >
> >Subhrajyoti
> >Mobile: +919830079545
> >Mail: choudhury@labware.com
> >Web: www.labware.com
> >
> >LabWare LIMS Solutions - Results Count
> >
> >
> >
> >"deepak va" <de...@hotmail.com>
> >12/07/2006 04:27 PM
> >Please respond to
> >"JMeter Users List" <jm...@jakarta.apache.org>
> >
> >
> >To
> >jmeter-user@jakarta.apache.org
> >cc
> >
> >Subject
> >Re: How to extract cookie information from response header
> >
> >
> >
> >
> >
> >
> >HI Subhrajyoti
> >
> >
> >You are right, the server is checking the requested cookie and also
> >sending
> >back the same along with the response.
> >
> >But the second request in the application is as below.
> >
> >/jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.
> >
> >How do i pass the JSESSIONID value here. When i record the scenario this
> >value is written automatically. This works as long as server is not
> >restarted. Once the server is restarted, it fails to recognises this
> >JSESSIONID. Hence iam unable to log into the application.
> >
> >Regards
> >Deepak
> >
> >
> > >From: Choudhury@labware.com
> > >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> > >To: "JMeter Users List" <jm...@jakarta.apache.org>
> > >Subject: Re: How to extract cookie information from response header
> > >Date: Thu, 7 Dec 2006 16:13:59 +0530
> > >
> > >The following is from jmeter documentation:
> > >
> > >
> > >"The Cookie Manager element has two functions:
> > >
> > >First, it stores and sends cookies just like a web browser. If you have
> >an
> > >HTTP Request and the response contains a cookie, the Cookie Manager
> > >automatically stores that cookie and will use it for all future
> requests
> > >to that particular web site. Each JMeter thread has its own "cookie
> > >storage area". So, if you are testing a web site that uses a cookie for
> > >storing session information, each JMeter thread will have its own
> >session.
> > >"
> > >
> > >So if your app is relying on cookies to store session info , adding the
> > >cookie manager at the thread group level should solve ur purpose. Set
> the
> > >cookie policy to "compatibility".
> > >
> > >
> > >
> > >Regards,
> > >
> > >Subhrajyoti
> > >Mobile: +919830079545
> > >Mail: choudhury@labware.com
> > >Web: www.labware.com
> > >
> > >LabWare LIMS Solutions - Results Count
> > >
> > >
> > >
> > >"deepak va" <de...@hotmail.com>
> > >12/07/2006 04:05 PM
> > >Please respond to
> > >"JMeter Users List" <jm...@jakarta.apache.org>
> > >
> > >
> > >To
> > >jmeter-user@jakarta.apache.org
> > >cc
> > >
> > >Subject
> > >Re: How to extract cookie information from response header
> > >
> > >
> > >
> > >
> > >
> > >
> > >Hi Subhrajyoti,
> > >
> > >When i add the Cookie Manager, iam not even able to log into the
> > >application.
> > >
> > >Regards
> > >Deepak
> > >
> > >
> > > >From: Choudhury@labware.com
> > > >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> > > >To: "JMeter Users List" <jm...@jakarta.apache.org>
> > > >CC: jmeter-user@jakarta.apache.org
> > > >Subject: Re: How to extract cookie information from response header
> > > >Date: Thu, 7 Dec 2006 15:23:10 +0530
> > > >
> > > >use the cookie manager and add it at the thread group level and it
> will
> > >do
> > > >the job for you.
> > > >
> > > >Regards,
> > > >
> > > >Subhrajyoti
> > > >Mobile: +919830079545
> > > >Mail: choudhury@labware.com
> > > >Web: www.labware.com
> > > >
> > > >LabWare LIMS Solutions - Results Count
> > > >
> > > >
> > > >
> > > >"deepak va" <de...@hotmail.com>
> > > >12/07/2006 03:08 PM
> > > >Please respond to
> > > >"JMeter Users List" <jm...@jakarta.apache.org>
> > > >
> > > >
> > > >To
> > > >jmeter-user@jakarta.apache.org
> > > >cc
> > > >
> > > >Subject
> > > >How to extract cookie information from response header
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >Hi,
> > > >
> > > >How do i extract the coookie informaion from the response header
> >returned
> > > >by
> > > >the sever.
> > > >
> > > >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> > > >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> > > >
> > > >
> > > >Regards
> > > >Deepak
> > > >
> > > >_________________________________________________________________
> > > >Catch all the cricketing action right here. Live score, match
> reports,
> > > >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >_________________________________________________________________
> > >Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> > >http://server1.msn.co.in/profile/shahrukh.asp
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >_________________________________________________________________
> >Get up-to-date with movies, music and TV. Its happening on MSN
> >Entertainment
> >http://content.msn.co.in/Entertainment/Default
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> _________________________________________________________________
> Spice up your IM conversations. New, colorful and animated emoticons. Get
> chatting! http://server1.msn.co.in/SP05/emoticons/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Subhrajyoti,
Totally agree with you that i was using a hard coded jsessionid . But when i
remove it and add the cookie manager. It does not work. It just will not log
into the application.
Regards
Deeapk
>From: Choudhury@labware.com
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:42:17 +0530
>
>I think you have recorded the clicks via http proxy recording
>facility..right?So in case u have done this u need to remove the following
>part from all of ur samplers....
>;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.ie just keep /jsp/index.jsp
>as the second request. Then add the cookie manager at the thread group
>level and see it should work for u.ur problem was u were testing with a
>hard coded jsession id so far.
>
>
>Regards,
>
>Subhrajyoti
>Mobile: +919830079545
>Mail: choudhury@labware.com
>Web: www.labware.com
>
>LabWare LIMS Solutions - Results Count
>
>
>
>"deepak va" <de...@hotmail.com>
>12/07/2006 04:27 PM
>Please respond to
>"JMeter Users List" <jm...@jakarta.apache.org>
>
>
>To
>jmeter-user@jakarta.apache.org
>cc
>
>Subject
>Re: How to extract cookie information from response header
>
>
>
>
>
>
>HI Subhrajyoti
>
>
>You are right, the server is checking the requested cookie and also
>sending
>back the same along with the response.
>
>But the second request in the application is as below.
>
>/jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.
>
>How do i pass the JSESSIONID value here. When i record the scenario this
>value is written automatically. This works as long as server is not
>restarted. Once the server is restarted, it fails to recognises this
>JSESSIONID. Hence iam unable to log into the application.
>
>Regards
>Deepak
>
>
> >From: Choudhury@labware.com
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 16:13:59 +0530
> >
> >The following is from jmeter documentation:
> >
> >
> >"The Cookie Manager element has two functions:
> >
> >First, it stores and sends cookies just like a web browser. If you have
>an
> >HTTP Request and the response contains a cookie, the Cookie Manager
> >automatically stores that cookie and will use it for all future requests
> >to that particular web site. Each JMeter thread has its own "cookie
> >storage area". So, if you are testing a web site that uses a cookie for
> >storing session information, each JMeter thread will have its own
>session.
> >"
> >
> >So if your app is relying on cookies to store session info , adding the
> >cookie manager at the thread group level should solve ur purpose. Set the
> >cookie policy to "compatibility".
> >
> >
> >
> >Regards,
> >
> >Subhrajyoti
> >Mobile: +919830079545
> >Mail: choudhury@labware.com
> >Web: www.labware.com
> >
> >LabWare LIMS Solutions - Results Count
> >
> >
> >
> >"deepak va" <de...@hotmail.com>
> >12/07/2006 04:05 PM
> >Please respond to
> >"JMeter Users List" <jm...@jakarta.apache.org>
> >
> >
> >To
> >jmeter-user@jakarta.apache.org
> >cc
> >
> >Subject
> >Re: How to extract cookie information from response header
> >
> >
> >
> >
> >
> >
> >Hi Subhrajyoti,
> >
> >When i add the Cookie Manager, iam not even able to log into the
> >application.
> >
> >Regards
> >Deepak
> >
> >
> > >From: Choudhury@labware.com
> > >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> > >To: "JMeter Users List" <jm...@jakarta.apache.org>
> > >CC: jmeter-user@jakarta.apache.org
> > >Subject: Re: How to extract cookie information from response header
> > >Date: Thu, 7 Dec 2006 15:23:10 +0530
> > >
> > >use the cookie manager and add it at the thread group level and it will
> >do
> > >the job for you.
> > >
> > >Regards,
> > >
> > >Subhrajyoti
> > >Mobile: +919830079545
> > >Mail: choudhury@labware.com
> > >Web: www.labware.com
> > >
> > >LabWare LIMS Solutions - Results Count
> > >
> > >
> > >
> > >"deepak va" <de...@hotmail.com>
> > >12/07/2006 03:08 PM
> > >Please respond to
> > >"JMeter Users List" <jm...@jakarta.apache.org>
> > >
> > >
> > >To
> > >jmeter-user@jakarta.apache.org
> > >cc
> > >
> > >Subject
> > >How to extract cookie information from response header
> > >
> > >
> > >
> > >
> > >
> > >
> > >Hi,
> > >
> > >How do i extract the coookie informaion from the response header
>returned
> > >by
> > >the sever.
> > >
> > >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> > >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> > >
> > >
> > >Regards
> > >Deepak
> > >
> > >_________________________________________________________________
> > >Catch all the cricketing action right here. Live score, match reports,
> > >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >_________________________________________________________________
> >Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
> >http://server1.msn.co.in/profile/shahrukh.asp
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>_________________________________________________________________
>Get up-to-date with movies, music and TV. Its happening on MSN
>Entertainment
>http://content.msn.co.in/Entertainment/Default
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get
chatting! http://server1.msn.co.in/SP05/emoticons/
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by Ch...@labware.com.
I think you have recorded the clicks via http proxy recording
facility..right?So in case u have done this u need to remove the following
part from all of ur samplers....
;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.ie just keep /jsp/index.jsp
as the second request. Then add the cookie manager at the thread group
level and see it should work for u.ur problem was u were testing with a
hard coded jsession id so far.
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
"deepak va" <de...@hotmail.com>
12/07/2006 04:27 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
Re: How to extract cookie information from response header
HI Subhrajyoti
You are right, the server is checking the requested cookie and also
sending
back the same along with the response.
But the second request in the application is as below.
/jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.
How do i pass the JSESSIONID value here. When i record the scenario this
value is written automatically. This works as long as server is not
restarted. Once the server is restarted, it fails to recognises this
JSESSIONID. Hence iam unable to log into the application.
Regards
Deepak
>From: Choudhury@labware.com
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:13:59 +0530
>
>The following is from jmeter documentation:
>
>
>"The Cookie Manager element has two functions:
>
>First, it stores and sends cookies just like a web browser. If you have
an
>HTTP Request and the response contains a cookie, the Cookie Manager
>automatically stores that cookie and will use it for all future requests
>to that particular web site. Each JMeter thread has its own "cookie
>storage area". So, if you are testing a web site that uses a cookie for
>storing session information, each JMeter thread will have its own
session.
>"
>
>So if your app is relying on cookies to store session info , adding the
>cookie manager at the thread group level should solve ur purpose. Set the
>cookie policy to "compatibility".
>
>
>
>Regards,
>
>Subhrajyoti
>Mobile: +919830079545
>Mail: choudhury@labware.com
>Web: www.labware.com
>
>LabWare LIMS Solutions - Results Count
>
>
>
>"deepak va" <de...@hotmail.com>
>12/07/2006 04:05 PM
>Please respond to
>"JMeter Users List" <jm...@jakarta.apache.org>
>
>
>To
>jmeter-user@jakarta.apache.org
>cc
>
>Subject
>Re: How to extract cookie information from response header
>
>
>
>
>
>
>Hi Subhrajyoti,
>
>When i add the Cookie Manager, iam not even able to log into the
>application.
>
>Regards
>Deepak
>
>
> >From: Choudhury@labware.com
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >CC: jmeter-user@jakarta.apache.org
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >
> >use the cookie manager and add it at the thread group level and it will
>do
> >the job for you.
> >
> >Regards,
> >
> >Subhrajyoti
> >Mobile: +919830079545
> >Mail: choudhury@labware.com
> >Web: www.labware.com
> >
> >LabWare LIMS Solutions - Results Count
> >
> >
> >
> >"deepak va" <de...@hotmail.com>
> >12/07/2006 03:08 PM
> >Please respond to
> >"JMeter Users List" <jm...@jakarta.apache.org>
> >
> >
> >To
> >jmeter-user@jakarta.apache.org
> >cc
> >
> >Subject
> >How to extract cookie information from response header
> >
> >
> >
> >
> >
> >
> >Hi,
> >
> >How do i extract the coookie informaion from the response header
returned
> >by
> >the sever.
> >
> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >
> >
> >Regards
> >Deepak
> >
> >_________________________________________________________________
> >Catch all the cricketing action right here. Live score, match reports,
> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>_________________________________________________________________
>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>http://server1.msn.co.in/profile/shahrukh.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN
Entertainment
http://content.msn.co.in/Entertainment/Default
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
HI Subhrajyoti
You are right, the server is checking the requested cookie and also sending
back the same along with the response.
But the second request in the application is as below.
/jsp/index.jsp;jsessionid=808B400A9CA3CEECFEFD906E5EB095F9.
How do i pass the JSESSIONID value here. When i record the scenario this
value is written automatically. This works as long as server is not
restarted. Once the server is restarted, it fails to recognises this
JSESSIONID. Hence iam unable to log into the application.
Regards
Deepak
>From: Choudhury@labware.com
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 16:13:59 +0530
>
>The following is from jmeter documentation:
>
>
>"The Cookie Manager element has two functions:
>
>First, it stores and sends cookies just like a web browser. If you have an
>HTTP Request and the response contains a cookie, the Cookie Manager
>automatically stores that cookie and will use it for all future requests
>to that particular web site. Each JMeter thread has its own "cookie
>storage area". So, if you are testing a web site that uses a cookie for
>storing session information, each JMeter thread will have its own session.
>"
>
>So if your app is relying on cookies to store session info , adding the
>cookie manager at the thread group level should solve ur purpose. Set the
>cookie policy to "compatibility".
>
>
>
>Regards,
>
>Subhrajyoti
>Mobile: +919830079545
>Mail: choudhury@labware.com
>Web: www.labware.com
>
>LabWare LIMS Solutions - Results Count
>
>
>
>"deepak va" <de...@hotmail.com>
>12/07/2006 04:05 PM
>Please respond to
>"JMeter Users List" <jm...@jakarta.apache.org>
>
>
>To
>jmeter-user@jakarta.apache.org
>cc
>
>Subject
>Re: How to extract cookie information from response header
>
>
>
>
>
>
>Hi Subhrajyoti,
>
>When i add the Cookie Manager, iam not even able to log into the
>application.
>
>Regards
>Deepak
>
>
> >From: Choudhury@labware.com
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >CC: jmeter-user@jakarta.apache.org
> >Subject: Re: How to extract cookie information from response header
> >Date: Thu, 7 Dec 2006 15:23:10 +0530
> >
> >use the cookie manager and add it at the thread group level and it will
>do
> >the job for you.
> >
> >Regards,
> >
> >Subhrajyoti
> >Mobile: +919830079545
> >Mail: choudhury@labware.com
> >Web: www.labware.com
> >
> >LabWare LIMS Solutions - Results Count
> >
> >
> >
> >"deepak va" <de...@hotmail.com>
> >12/07/2006 03:08 PM
> >Please respond to
> >"JMeter Users List" <jm...@jakarta.apache.org>
> >
> >
> >To
> >jmeter-user@jakarta.apache.org
> >cc
> >
> >Subject
> >How to extract cookie information from response header
> >
> >
> >
> >
> >
> >
> >Hi,
> >
> >How do i extract the coookie informaion from the response header returned
> >by
> >the sever.
> >
> >2006-12-07 09:24:59 RequestDumperValve[Standalone]:
> >header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
> >
> >
> >Regards
> >Deepak
> >
> >_________________________________________________________________
> >Catch all the cricketing action right here. Live score, match reports,
> >photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>_________________________________________________________________
>Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
>http://server1.msn.co.in/profile/shahrukh.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment
http://content.msn.co.in/Entertainment/Default
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by Ch...@labware.com.
The following is from jmeter documentation:
"The Cookie Manager element has two functions:
First, it stores and sends cookies just like a web browser. If you have an
HTTP Request and the response contains a cookie, the Cookie Manager
automatically stores that cookie and will use it for all future requests
to that particular web site. Each JMeter thread has its own "cookie
storage area". So, if you are testing a web site that uses a cookie for
storing session information, each JMeter thread will have its own session.
"
So if your app is relying on cookies to store session info , adding the
cookie manager at the thread group level should solve ur purpose. Set the
cookie policy to "compatibility".
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
"deepak va" <de...@hotmail.com>
12/07/2006 04:05 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
Re: How to extract cookie information from response header
Hi Subhrajyoti,
When i add the Cookie Manager, iam not even able to log into the
application.
Regards
Deepak
>From: Choudhury@labware.com
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>CC: jmeter-user@jakarta.apache.org
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 15:23:10 +0530
>
>use the cookie manager and add it at the thread group level and it will
do
>the job for you.
>
>Regards,
>
>Subhrajyoti
>Mobile: +919830079545
>Mail: choudhury@labware.com
>Web: www.labware.com
>
>LabWare LIMS Solutions - Results Count
>
>
>
>"deepak va" <de...@hotmail.com>
>12/07/2006 03:08 PM
>Please respond to
>"JMeter Users List" <jm...@jakarta.apache.org>
>
>
>To
>jmeter-user@jakarta.apache.org
>cc
>
>Subject
>How to extract cookie information from response header
>
>
>
>
>
>
>Hi,
>
>How do i extract the coookie informaion from the response header returned
>by
>the sever.
>
>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>
>
>Regards
>Deepak
>
>_________________________________________________________________
>Catch all the cricketing action right here. Live score, match reports,
>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by deepak va <de...@hotmail.com>.
Hi Subhrajyoti,
When i add the Cookie Manager, iam not even able to log into the
application.
Regards
Deepak
>From: Choudhury@labware.com
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>CC: jmeter-user@jakarta.apache.org
>Subject: Re: How to extract cookie information from response header
>Date: Thu, 7 Dec 2006 15:23:10 +0530
>
>use the cookie manager and add it at the thread group level and it will do
>the job for you.
>
>Regards,
>
>Subhrajyoti
>Mobile: +919830079545
>Mail: choudhury@labware.com
>Web: www.labware.com
>
>LabWare LIMS Solutions - Results Count
>
>
>
>"deepak va" <de...@hotmail.com>
>12/07/2006 03:08 PM
>Please respond to
>"JMeter Users List" <jm...@jakarta.apache.org>
>
>
>To
>jmeter-user@jakarta.apache.org
>cc
>
>Subject
>How to extract cookie information from response header
>
>
>
>
>
>
>Hi,
>
>How do i extract the coookie informaion from the response header returned
>by
>the sever.
>
>2006-12-07 09:24:59 RequestDumperValve[Standalone]:
>header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
>
>
>Regards
>Deepak
>
>_________________________________________________________________
>Catch all the cricketing action right here. Live score, match reports,
>photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to extract cookie information from response header
Posted by Ch...@labware.com.
use the cookie manager and add it at the thread group level and it will do
the job for you.
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
"deepak va" <de...@hotmail.com>
12/07/2006 03:08 PM
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org>
To
jmeter-user@jakarta.apache.org
cc
Subject
How to extract cookie information from response header
Hi,
How do i extract the coookie informaion from the response header returned
by
the sever.
2006-12-07 09:24:59 RequestDumperValve[Standalone]:
header=Set-Cookie=JSESSIONID=DEC2D12345; Path=/phw-p
Regards
Deepak
_________________________________________________________________
Catch all the cricketing action right here. Live score, match reports,
photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org