Re: Cookie Manager not working with HTTPS

2006-04-18 Thread sebb
What sort of redirect are you doing?

Automatic (i.e. done by Java)
or
Follow (i.e. done by JMeter) ?

What is the path from the Set-Cookie header? And what is the path to
the redirected page?
Perhaps JMeter thinks they don't match.

Try enabling debug for cookies:

in jmeter.properties:
log_level.jmeter.protocol.http.control=DEBUG

or on the command line:
-Ljmeter.protocol.http.control=DEBUG

The output is a bit cryptic, so extract the relevant lines (and
obliterate any sensitive/secret stuff) and post here - if you can't
work it out.

S.
On 18/04/06, Amit Kulkarni <[EMAIL PROTECTED]> wrote:
> Uncheck "Clear cookies each iteration = FALSE" and your query will be solved
>
> Amit
>
>
> On 4/17/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
> >
> > Yes, this is unchecked by default.
> >
> > -Original Message-
> > From: Amit Kulkarni [mailto:[EMAIL PROTECTED]
> > Sent: Monday, April 17, 2006 9:16 AM
> > To: JMeter Users List
> > Subject: Re: Cookie Manager not working with HTTPS
> >
> > If you set "Clear cookies each iteration = TRUE" under HTTP Cookie
> > Manager
> > then it will delete the cookies when it passes to the next page.
> >
> > Amit
> >
> >
> > On 4/15/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
> > >
> > > I am trying to test a web application using HTTPS on JMeter. I am
> > using
> > > JMeter 2-1.20060118 and Java SDK 1.4.2_08. I have recorded and
> > executed
> > > the test fine in HTTP. I have a Cookie Manager for the thread, and the
> > > cookie information with each request is displayed in the request tab
> > on
> > > the results tree. My test consists of the following: Get the login
> > page,
> > > post login form parameters, get the enter page.
> > >
> > > When I switch to HTTPS on 443, I am redirected to the login page on
> > the
> > > second and third requests. I do not see the cookie information in the
> > > request tab in the results tree. I believe that the Cookie Manager is
> > > not passing the cookie information back with each subsequent request.
> > I
> > > can reproduce the same results in my browser when I disable cookies
> > for
> > > each request. I have set the logging to debug but can not find any
> > > information about what cookies are sent with the requests. I do see
> > that
> > > with HTTP request the Cookie Manager is matching the cookies. With
> > HTTPS
> > > request, the Cookie Manager shows it is adding the cookie, but not
> > > matching the cookie with the previous request.
> > >
> > > I have looked through the Users Guide, FAQ, and Bug list for any
> > > information about the Cookie Manager handling HTTPS request but have
> > not
> > > found anything. Has anyone experienced this behavior using HTTPS in
> > > JMeter?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > 
> > 
> > > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> > > intended only for the individual or entity to which it is addressed
> > and may
> > > contain information that is confidential and protected by law.
> > Unauthorized
> > > review, use, disclosure, or dissemination of this communication or its
> > > contents in any way is prohibited and may be unlawful. If you are not
> > the
> > > intended recipient or a person responsible for delivering this message
> > to an
> > > intended recipient, please notify the original sender immediately by
> > e-mail
> > > or telephone, return the original message to the original sender or to
> > > [EMAIL PROTECTED], and destroy all copies or derivations
> > of
> > > the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
> > >
> > >
> > 
> > ***
> > >
> > >
> >
> >
> > --
> > To be what we are, and to become what we are capable of becoming, is the
> > only end of life.
> >
> >
> >
> > 
> > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> > intended only for the individual or entity to which it is addressed and may
> > contain information that is confidential and protected by law. Unauthorized
> > revi

Re: Cookie Manager not working with HTTPS

2006-04-18 Thread Amit Kulkarni
Uncheck "Clear cookies each iteration = FALSE" and your query will be solved

Amit


On 4/17/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
>
> Yes, this is unchecked by default.
>
> -Original Message-
> From: Amit Kulkarni [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 9:16 AM
> To: JMeter Users List
> Subject: Re: Cookie Manager not working with HTTPS
>
> If you set "Clear cookies each iteration = TRUE" under HTTP Cookie
> Manager
> then it will delete the cookies when it passes to the next page.
>
> Amit
>
>
> On 4/15/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
> >
> > I am trying to test a web application using HTTPS on JMeter. I am
> using
> > JMeter 2-1.20060118 and Java SDK 1.4.2_08. I have recorded and
> executed
> > the test fine in HTTP. I have a Cookie Manager for the thread, and the
> > cookie information with each request is displayed in the request tab
> on
> > the results tree. My test consists of the following: Get the login
> page,
> > post login form parameters, get the enter page.
> >
> > When I switch to HTTPS on 443, I am redirected to the login page on
> the
> > second and third requests. I do not see the cookie information in the
> > request tab in the results tree. I believe that the Cookie Manager is
> > not passing the cookie information back with each subsequent request.
> I
> > can reproduce the same results in my browser when I disable cookies
> for
> > each request. I have set the logging to debug but can not find any
> > information about what cookies are sent with the requests. I do see
> that
> > with HTTP request the Cookie Manager is matching the cookies. With
> HTTPS
> > request, the Cookie Manager shows it is adding the cookie, but not
> > matching the cookie with the previous request.
> >
> > I have looked through the Users Guide, FAQ, and Bug list for any
> > information about the Cookie Manager handling HTTPS request but have
> not
> > found anything. Has anyone experienced this behavior using HTTPS in
> > JMeter?
> >
> >
> >
> >
> >
> >
> >
> 
> 
> > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> > intended only for the individual or entity to which it is addressed
> and may
> > contain information that is confidential and protected by law.
> Unauthorized
> > review, use, disclosure, or dissemination of this communication or its
> > contents in any way is prohibited and may be unlawful. If you are not
> the
> > intended recipient or a person responsible for delivering this message
> to an
> > intended recipient, please notify the original sender immediately by
> e-mail
> > or telephone, return the original message to the original sender or to
> > [EMAIL PROTECTED], and destroy all copies or derivations
> of
> > the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
> >
> >
> 
> ***
> >
> >
>
>
> --
> To be what we are, and to become what we are capable of becoming, is the
> only end of life.
>
>
>
> 
> BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> intended only for the individual or entity to which it is addressed and may
> contain information that is confidential and protected by law. Unauthorized
> review, use, disclosure, or dissemination of this communication or its
> contents in any way is prohibited and may be unlawful. If you are not the
> intended recipient or a person responsible for delivering this message to an
> intended recipient, please notify the original sender immediately by e-mail
> or telephone, return the original message to the original sender or to
> [EMAIL PROTECTED], and destroy all copies or derivations of
> the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
>
> ***
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
To be what we are, and to become what we are capable of becoming, is the
only end of life.


RE: Cookie Manager not working with HTTPS

2006-04-17 Thread Edward Patterson
Yes, this is unchecked by default. 

-Original Message-
From: Amit Kulkarni [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 9:16 AM
To: JMeter Users List
Subject: Re: Cookie Manager not working with HTTPS

If you set "Clear cookies each iteration = TRUE" under HTTP Cookie
Manager
then it will delete the cookies when it passes to the next page.

Amit


On 4/15/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
>
> I am trying to test a web application using HTTPS on JMeter. I am
using
> JMeter 2-1.20060118 and Java SDK 1.4.2_08. I have recorded and
executed
> the test fine in HTTP. I have a Cookie Manager for the thread, and the
> cookie information with each request is displayed in the request tab
on
> the results tree. My test consists of the following: Get the login
page,
> post login form parameters, get the enter page.
>
> When I switch to HTTPS on 443, I am redirected to the login page on
the
> second and third requests. I do not see the cookie information in the
> request tab in the results tree. I believe that the Cookie Manager is
> not passing the cookie information back with each subsequent request.
I
> can reproduce the same results in my browser when I disable cookies
for
> each request. I have set the logging to debug but can not find any
> information about what cookies are sent with the requests. I do see
that
> with HTTP request the Cookie Manager is matching the cookies. With
HTTPS
> request, the Cookie Manager shows it is adding the cookie, but not
> matching the cookie with the previous request.
>
> I have looked through the Users Guide, FAQ, and Bug list for any
> information about the Cookie Manager handling HTTPS request but have
not
> found anything. Has anyone experienced this behavior using HTTPS in
> JMeter?
>
>
>
>
>
>
>


> BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> intended only for the individual or entity to which it is addressed
and may
> contain information that is confidential and protected by law.
Unauthorized
> review, use, disclosure, or dissemination of this communication or its
> contents in any way is prohibited and may be unlawful. If you are not
the
> intended recipient or a person responsible for delivering this message
to an
> intended recipient, please notify the original sender immediately by
e-mail
> or telephone, return the original message to the original sender or to
> [EMAIL PROTECTED], and destroy all copies or derivations
of
> the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
>
>

***
>
>


--
To be what we are, and to become what we are capable of becoming, is the
only end of life.



BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended 
only for the individual or entity to which it is addressed and may contain 
information that is confidential and protected by law. Unauthorized review, 
use, disclosure, or dissemination of this communication or its contents in any 
way is prohibited and may be unlawful. If you are not the intended recipient or 
a person responsible for delivering this message to an intended recipient, 
please notify the original sender immediately by e-mail or telephone, return 
the original message to the original sender or to [EMAIL PROTECTED], and 
destroy all copies or derivations of the original message. Thank you.  
(BFeComNote Rev. 08/01/2005)
***

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



Re: Cookie Manager not working with HTTPS

2006-04-17 Thread Amit Kulkarni
If you set "Clear cookies each iteration = TRUE" under HTTP Cookie Manager
then it will delete the cookies when it passes to the next page.

Amit


On 4/15/06, Edward Patterson <[EMAIL PROTECTED]> wrote:
>
> I am trying to test a web application using HTTPS on JMeter. I am using
> JMeter 2-1.20060118 and Java SDK 1.4.2_08. I have recorded and executed
> the test fine in HTTP. I have a Cookie Manager for the thread, and the
> cookie information with each request is displayed in the request tab on
> the results tree. My test consists of the following: Get the login page,
> post login form parameters, get the enter page.
>
> When I switch to HTTPS on 443, I am redirected to the login page on the
> second and third requests. I do not see the cookie information in the
> request tab in the results tree. I believe that the Cookie Manager is
> not passing the cookie information back with each subsequent request. I
> can reproduce the same results in my browser when I disable cookies for
> each request. I have set the logging to debug but can not find any
> information about what cookies are sent with the requests. I do see that
> with HTTP request the Cookie Manager is matching the cookies. With HTTPS
> request, the Cookie Manager shows it is adding the cookie, but not
> matching the cookie with the previous request.
>
> I have looked through the Users Guide, FAQ, and Bug list for any
> information about the Cookie Manager handling HTTPS request but have not
> found anything. Has anyone experienced this behavior using HTTPS in
> JMeter?
>
>
>
>
>
>
> 
> BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> intended only for the individual or entity to which it is addressed and may
> contain information that is confidential and protected by law. Unauthorized
> review, use, disclosure, or dissemination of this communication or its
> contents in any way is prohibited and may be unlawful. If you are not the
> intended recipient or a person responsible for delivering this message to an
> intended recipient, please notify the original sender immediately by e-mail
> or telephone, return the original message to the original sender or to
> [EMAIL PROTECTED], and destroy all copies or derivations of
> the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
>
> ***
>
>


--
To be what we are, and to become what we are capable of becoming, is the
only end of life.


Cookie Manager not working with HTTPS

2006-04-14 Thread Edward Patterson
I am trying to test a web application using HTTPS on JMeter. I am using
JMeter 2-1.20060118 and Java SDK 1.4.2_08. I have recorded and executed
the test fine in HTTP. I have a Cookie Manager for the thread, and the
cookie information with each request is displayed in the request tab on
the results tree. My test consists of the following: Get the login page,
post login form parameters, get the enter page.  

When I switch to HTTPS on 443, I am redirected to the login page on the
second and third requests. I do not see the cookie information in the
request tab in the results tree. I believe that the Cookie Manager is
not passing the cookie information back with each subsequent request. I
can reproduce the same results in my browser when I disable cookies for
each request. I have set the logging to debug but can not find any
information about what cookies are sent with the requests. I do see that
with HTTP request the Cookie Manager is matching the cookies. With HTTPS
request, the Cookie Manager shows it is adding the cookie, but not
matching the cookie with the previous request.

I have looked through the Users Guide, FAQ, and Bug list for any
information about the Cookie Manager handling HTTPS request but have not
found anything. Has anyone experienced this behavior using HTTPS in
JMeter?   

 




BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended 
only for the individual or entity to which it is addressed and may contain 
information that is confidential and protected by law. Unauthorized review, 
use, disclosure, or dissemination of this communication or its contents in any 
way is prohibited and may be unlawful. If you are not the intended recipient or 
a person responsible for delivering this message to an intended recipient, 
please notify the original sender immediately by e-mail or telephone, return 
the original message to the original sender or to [EMAIL PROTECTED], and 
destroy all copies or derivations of the original message. Thank you.  
(BFeComNote Rev. 08/01/2005)
***