Markus Maier wrote:
Hi

First of all: Sorry for the missing subject and thanks for the fast response.
I think that the meta http-equiv set-cookie is not currently handled in htmlunit.

Yeah. I solved this by setting the cookie in the http header (now store and verifyCookie) works. Thanks for the hint.

nevertheless you should open an issue if you discover something like that to help improving it otherwise you will have to find a workaround next time again.
This is now fixed in htmlunit's SVN.


But there is also another problem:
After store and verify I want to call another page (Just another invoke). But it seems that the received cookie will not be sent to the webserver. Is this possible?
I can't find anything in the documentation. (maybe I need a parameter of invoke 
for cookie sending?)
Does webtest send the received cookies automatically with each new invoke? How 
is the sendig of cookies generally handled?

BTW: I set the cookie now with: Set-Cookie: test=bla; path=/;

Maybe this line contains a error? But in the webbrowsers there is no problem with that.

cookies are automatically handled and should be sent when appropriate according to host and secure attributes.
What are the host, port and protocol of both requests?

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

Reply via email to