Hi,

normally cookies handling works just fine. Nevertheless some server sends
cookies in a non standard format, what could be a cause of problem.

The best thing to do is probably to change the log level to see the http
traffic (see lib/log4j.properties) and to compare the cookies sent and
received with some sent and received by a "normal" browser (liveHttpHeaders
is a nice Firefox addon for this purpose).

Marc.


Thakkar, Sachin wrote:
> 
> Hi,
> 
> I was using WebTest to do some HTML app testing and encountered a few
> problems which I believe are related to cookies. I have to login to a
> website to gain access to the sandbox I am testing in. I must enter a
> different login once in the sandbox to complete the login process and
> get access to the URLs I must test. I am new to WebTest so please
> correct me if I am wrong.
> 
> I am able to successfully login to the first site and get to the login
> page of the particular sandbox I want access to. I am quite sure that I
> am populating the login and password fields correctly yet after click
> the login button, I get back to a page that says you must be logged in
> to perform this action.
> 
> By the way, there is an intermediary processing login page that I must
> go through to get to a successful login complete page. I do this by
> sleep for a given amount of time and then invoking a proper page. This
> worked perfectly for the first login but does not work for the second.
> Due to the similar method, I am led to believe it is an issue with
> cookies rather than this login redirect page.
> 
> Thanks in advance for the help.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cookies-with-WebTest-tf4059337.html#a11555963
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to