4 messages in com.canoo.lists.webtestRe: [Webtest] Cookie Handling
FromSent OnAttachments
Jacob Portnoy16 Dec 2004 14:13 
Ian Wallace16 Dec 2004 14:24 
Ian Wallace16 Dec 2004 14:32 
David Louvton17 Dec 2004 10:26 
Subject:Re: [Webtest] Cookie Handling
From:Ian Wallace (iwal@eforceglobal.com)
Date:12/16/2004 02:24:42 PM
List:com.canoo.lists.webtest

Jacob - Have you increased the logging level in log4j.properties? I've been having some similar issues (but with bad HTML not parsing etc) and have been fiddling around with the settings in log4j to try and get some more information out of the components, I would try there.

I'll send along more info if I'm successful at seeing what's happening at the cookie level.

cheers ian

On Thu, 2004-12-16 at 15:14, Jacob Portnoy wrote:

I am having a problem with cookie handling while attempting to run an elementary
level webtest.

I am attempting to authenticate with a .asp login page, using Canoo WebTest. The
page requires cookies to access the page. When the page is accessed through the
script I've written, the title verification fails because it goes to a page
which informs the user that they must have cookies enabled to login. In order to
get around this, I attempted to have my script hit the main page of our website
(which should hypothetically put the cookie client-side), and then hit the login
page with the appropriate cookie. However, the script does indeed hit both
pages, but fails again when attempting to access the login page because it does
not have the cookie for some reason.

Does anybody know how to control cookie handling through Canoo WebTest? I've
searched google, google groups, and the Canoo forums without any luck.

Thanks guys.