[twill] Testing Tomcat applications with twill

Titus Brown titus at caltech.edu
Sun Jan 15 10:08:26 PST 2006

-> I am looking both to test tomcat applications like Axis web services and
-> others, from Python and to access those tomcat applications and services
-> from python.
-> Initial attempts to access tomcat from python have failed when
-> authentication is required, most likely due to my inexperience with python,
-> but I have tried a dozen or so examples I have found on the web including
-> those with urllib2 and httplib, both with the Authentication handlers and
-> manually with base64 setting headers, all fail.
-> Can twill test tomcat applications that require tomcat authentication?

Hi, Michael,

twill *should* be able to do anything a Web browser can do, except for
understanding JavaScript code.  I'm not sure what you mean by "Tomcat
authentication" in particular -- are you using HTTP Basic
Authentication, or something form/cookie-based, or...?

If twill doesn't work with Tomcat, that's probably a bug.


More information about the twill mailing list