[Webtest] Cookie Handling
Paul King
webtest@lists.canoo.com
Fri, 07 Jan 2005 11:02:25 +1000
getWebConversation() is used in the HttpUnit versions of WebTest which
the version of the cookie steps on the community site should work with.
To use the webtestCookieSteps482.jar file you will need to have an
existing version of webtest.jar from around that time or extract the
source from CVS using a tag such as 'R_543' and build yourself.
Denis ported verifyCookie over to HtmlUnit. I just ported storeCookie.
Both will be available as extensions in an upcoming release. However it
may take a day or two to be available as there are issues at the moment
with the build server (or perhaps the build itself).
Cheers, Paul.
Jacob Portnoy wrote:
> In the StoreCookie class, there is a reference made to the method getWebConversation() in the following package:
>
> com.canoo.webtest.engine.Context
>
> However, in "Context" class, the method "getWebConversation" does NOT exist.
>
> This may be the cause either of two problems:
>
> 1) The reference to the method "getWebConversation" is incorrect and should be changed to a different method.
>
> 2) The class "Context" was modified and "getWebConversation" was removed, and thus must be re-added to the class.
>
> I have done extensive research on the cookie-handling problems that I have experienced and have traced it back to this issue. Which of the two scenarios is the correct case?
>
> ---------------
> Jacob Portnoy
> Checkerboard LTD
> 508-438-2182
> JPortnoy@Checkernet.com
> www.Checkernet.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>