On 10 August 2012 05:57, lichen970 <[email protected]> wrote:
> Thanks for replying me. I am sure that all request are https request. The 
> problem is, in my test plan, which includes login, open an email,  back to 
> email list,logout. I re-do the middle two step many times. After some time, 
> it will get the error like "unknown user name or password", which suggests I 
> have logged out. Just like my session has be finished/expired. When I do 
> those in browser everything is ok.

> So I wonder if jmeter could possibly remove my cookies after some time?

No, JMeter does not drop cookies unless they expire.

You can follow the cookies by using a Tree View Listener.

> Sent from my iPhone
>
>
>
> 在 Aug 10, 2012,0:49,"prabhu [via JMeter]" 
> <[email protected]> 写道:
>
>> Hi,
>>    Is your application making transition from HTTP to HTTPS and back to HTTP 
>> again? If this is the case you have to watch out for secure cookies. When 
>> you hit a secure page you get a secure cookie from the server and stored in 
>> cookie manager. This secure cookie is not used for HTTP requests. So you 
>> should make sure to write a beanshell preprocessor which changes the 
>> property of secure cookie to insecure, so that it will be used in future 
>> requests. Have a look at the Response header of the first request that hits 
>> the sever. You will have a clear picture of cookies.
>>
>> Thanks
>> Prabhu
>>
>> If you reply to this email, your message will be added to the discussion 
>> below:
>> http://jmeter.512774.n5.nabble.com/weird-Cookies-behaviour-tp5714266p5714268.html
>> To unsubscribe from weird Cookies behaviour, click here.
>> NAML
>
>
>
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/weird-Cookies-behaviour-tp5714266p5714269.html
> Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to