[Webtest] Do cookies work?

Richard Hill webtest@lists.canoo.com
Wed, 16 Apr 2003 10:40:51 -0700


Alan,
com.canoo.webtest.steps.Setup has a method doExecute(Context context) that
you can insert the httpunit option:

    boolean acceptCookies = HttpUnitOptions.isAcceptCookies();
    System.out.println("Setup.doExecute: acceptCookies = " + acceptCookies);

This should let you know if httpunit is accepting cookies. 

You can also set the httpunit option:

    HttpUnitOptions.setLoggingHttpHeaders(true);

With this set you can see cookies being set or sent from httpunit as the
test is running.

Hope this helps,
- Richard

-----Original Message-----
From: Alan Grover [mailto:awgrover@mail.msen.com]
Sent: Wednesday, April 09, 2003 7:13 AM
To: webtest@gate.canoo.com
Subject: [Webtest] Do cookies work?


Can anyone confirm that cookies are handled by webtest? Or, when they 
aren't?
---
Alan Grover
awgrover@mail.msen.com

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest