On 04/12/06, deepak va <[EMAIL PROTECTED]> wrote:

Hi Sebb,

What do you mean - it does not work? If i add a cookie manager the login
fails and hence all the subsequent requests.


Do you see any incoming cookies in the View Tree Listener?

Do you see any outgoing cookies?


Where did you put it? I added the cookie manager at the thread group level.


OK

What options did you use? I just add the cookie manager and select the
option to clear cookie each iteration.

That will only work if each thread logs in each time.

The same thing i do with URL rewriting. Adding it at the Thread group level
and give the session argument name as jsessionid. No other options are
selected.

Sounds OK, but is the session argument present in all web-pages?
If not, you need to check the Cache Session id checkbox

Is it spelt "jsessionid" or "JSESSIONID" or ?


Regards
Deepak



>From: sebb <[EMAIL PROTECTED]>
>Reply-To: "JMeter Users List" <[email protected]>
>To: "JMeter Users List" <[email protected]>
>Subject: Re: Is there a bug in Cookie Manager
>Date: Fri, 1 Dec 2006 10:50:59 +0000
>
>On 01/12/06, deepak va <[EMAIL PROTECTED]> wrote:
>>Hi Sebb,
>>
>>To overcome this problem i had the jsessionid after every URL and it
>>works.
>>
>>I do the following to every request.
>>
>>/context-root/index.jsp;jsessionid=AAAAAAAAAA
>>/context-root/home.jsp;jsessionid=AAAAAAAAAA
>>/context-root/overviewsummary.jsp;jsessionid=AAAAAAAAAA
>>
>>I donot have to add cookie manager. I tried the URL rewriting modifier as
>>suggested, it does not work. In the URL Rewirting modifier i simply give
>>the
>>session argument name as jsessionid.
>
>What do you mean - it does not work?
>
>Where did you put it?
>
>What options did you use?
>
>>Please let me know if iam missing something. Also please let me know what
>>needs to be enetered for the session argument name in the URL rewriting
>>modifier.
>
>"The name of the parameter to grab from previous response. This
>modifier will find the parameter anywhere it exists on the page, and
>grab the value assigned to it, whether it's in an HREF or a form."
>
>>Regards
>>Deeapk
>>
>>
>> >From: sebb <[EMAIL PROTECTED]>
>> >Reply-To: "JMeter Users List" <[email protected]>
>> >To: "JMeter Users List" <[email protected]>
>> >Subject: Re: Is there a bug in Cookie Manager
>> >Date: Thu, 30 Nov 2006 15:05:05 +0000
>> >
>> >Perhaps the application relies on URL rewriting rather than Cookies.
>> >You'll need to ask the application developers if you are not sure.
>> >
>> >If so, have a look at:
>> >
>> 
>http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-writing_Modifier
>> >
>> >S.
>> >
>> >On 30/11/06, deepak va <[EMAIL PROTECTED]> wrote:
>> >>Hi Noam,
>> >>
>> >>I did add the Cookie Manager before recording it did not work. Then i
>> >>tried
>> >>adding it later and removing all the jsessionid's in the URL as
>>suggested
>> >>by
>> >>you, it does not work.
>> >>
>> >>One thing i have noticed is that Cookie Manager works fine for other
>> >>applications. But fails only in this case. This application is
>>developed
>> >>using JSF Framework and deployed on Tomcat server.
>> >>
>> >>Please let me know if anything else needs to be done.
>> >>
>> >>Regards
>> >>Deepak
>> >>
>> >>
>> >> >From: Noam Paz <[EMAIL PROTECTED]>
>> >> >Reply-To: "JMeter Users List" <[email protected]>
>> >> >To: "JMeter Users List" <[email protected]>
>> >> >Subject: Re: Is there a bug in Cookie Manager
>> >> >Date: Wed, 29 Nov 2006 15:18:07 +0100
>> >> >
>> >> >
>> >> >Hi Deepak,
>> >> >after recording, remove all jsessionids and do use the cookie
>>manager.
>> >> >
>> >> >
>> >> >
>> >> >Best regards / Viele Grüße
>> >> >
>> >> >
>> >> >Noam Paz
>> >> >______________________________________
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >              "deepak va" <[EMAIL PROTECTED]>
>> >> >
>> >> >              29.11.2006 15:13
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >             To
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >                                 [email protected]
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >             cc
>> >> >
>> >> >
>> >> >                                                Please respond to
>> >> >
>> >> >
>> >> >                              "JMeter Users List"
>> >> ><[email protected]>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >                                 Subject
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >                                 Re: Is there a bug in Cookie Manager
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >Hi Noam,
>> >> >
>> >> >When i create the Thread Group, i add a HTTP Cookie Manager and
>>record
>> >>the
>> >> >session.
>> >> >When i run this all the scenario fail.
>> >> >
>> >> >I remove the Cookie manager and run still all the requests fail
>> >> >
>> >> >I thin pass the jsessionid to all the url , it works.
>> >> >
>> >> >Please let me know how to overcome this. I tried this in JMeter 2.0.2
>> >>and
>> >> >JMeter 2.2
>> >> >
>> >> >Regards
>> >> >Deepak
>> >> >
>> >> >
>> >> >
>> >> > >From: Noam Paz <[EMAIL PROTECTED]>
>> >> > >Reply-To: "JMeter Users List" <[email protected]>
>> >> > >To: "JMeter Users List" <[email protected]>
>> >> > >Subject: Re: Is there a bug in Cookie Manager
>> >> > >Date: Wed, 29 Nov 2006 13:59:14 +0100
>> >> > >
>> >> > >
>> >> > >Hi Deepak,
>> >> > >do NOT pass the jsession. The cookie manager handles it for you. If
>> >>you
>> >> > >pass it, you pass old cookie values....
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >Best regards / Viele Grüße
>> >> > >
>> >> > >
>> >> > >Noam Paz
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >              "deepak va" <[EMAIL PROTECTED]>
>> >> > >
>> >> > >              29.11.2006 13:47
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >             To
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >                                 [email protected]
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >             cc
>> >> > >
>> >> > >
>> >> > >                                                Please respond to
>> >> > >
>> >> > >
>> >> > >                              "JMeter Users List"
>> >> > ><[email protected]>
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >                                 Subject
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >                                 Is there a bug in Cookie Manager
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >Hi
>> >> > >
>> >> > >I use a cookie manager while recording a session. When i re-run the
>> >> > >recorded
>> >> > >scripts, the script fails.
>> >> > >
>> >> > >I remove the cookie manager and do the recording again. I pass the
>> >> >jsession
>> >> > >to every request as part of the URL string it works.
>> >> > >
>> >> > >
>> >> > >After some time even this also stops working. Please let me know
>>what
>> >> >could
>> >> > >be the reason for this behaviour.
>> >> > >
>> >> > >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: [EMAIL PROTECTED]
>> >> > >For additional commands, e-mail:
>>[EMAIL PROTECTED]
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >--
>> >> > >
>> >> > >Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
>> >> > >Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
>> >> >E-Mail
>> >> > >irrtuemlich erhalten haben, informieren Sie bitte sofort den
>>Absender
>> >>und
>> >> > >vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
>>unbefugte
>> >> > >Weitergabe dieser Mail ist nicht gestattet.
>> >> > >
>> >> > >This e-mail may contain confidential and/or privileged information.
>>If
>> >> >you
>> >> > >are not the intended recipient (or have received this e-mail in
>>error)
>> >> > >please notify the sender immediately and destroy this e-mail. Any
>> >> > >unauthorized copying, disclosure or distribution of the material in
>> >>this
>> >> > >e-mail is strictly forbidden.
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >---------------------------------------------------------------------
>> >> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > >For additional commands, e-mail:
>>[EMAIL PROTECTED]
>> >> > >
>> >> >
>> >> >_________________________________________________________________
>> >> >Connect with your friends who use Yahoo! Messenger with Voice. Click!
>> >> >http://www.msnspecials.in/wlmyahoo/index.asp
>> >> >
>> >> >
>> >> >---------------------------------------------------------------------
>> >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >--
>> >> >
>> >> >Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
>> >> >Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
>> >>E-Mail
>> >> >irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender
>> >>und
>> >> >vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
>>unbefugte
>> >> >Weitergabe dieser Mail ist nicht gestattet.
>> >> >
>> >> >This e-mail may contain confidential and/or privileged information.
>>If
>> >>you
>> >> >are not the intended recipient (or have received this e-mail in
>>error)
>> >> >please notify the sender immediately and destroy this e-mail. Any
>> >> >unauthorized copying, disclosure or distribution of the material in
>>this
>> >> >e-mail is strictly forbidden.
>> >> >
>> >> >
>> >> >
>> >> >---------------------------------------------------------------------
>> >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >>
>> >>_________________________________________________________________
>> >>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: [EMAIL PROTECTED]
>> >>For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>>_________________________________________________________________
>>Want to improve your lifestyle? Get Mickey Mehta's advice on holistic
>>living
>>http://content.msn.co.in/Lifestyle/AskExpert/Default06.htm
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get
chatting! http://server1.msn.co.in/SP05/emoticons/


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



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

Reply via email to