| From | Sent On | Attachments |
|---|---|---|
| Ettema, Roland | May 25, 2000 5:24 am | |
| Fergus Gallagher | May 25, 2000 6:39 am | |
| Craig R. McClanahan | May 25, 2000 8:34 am |
| Subject: | Re: Automatic testing of servlets | |
|---|---|---|
| From: | Craig R. McClanahan (Crai...@eng.sun.com) | |
| Date: | May 25, 2000 8:34:14 am | |
| List: | org.apache.jakarta.general | |
"Ettema, Roland" wrote:
Hi,
first thing to say here is that i t's a great thing, what the apache foundation does !
After this compliment, i want to know if there is a posibility to automate the testing phase of a web based application. Here is what I wan't to do
A test application reads a file with URL's These URL's contains parameter wich the servlets need to create an respons. The URL's must be send to the web-server with Tomcat. In the Servlet there is for test purposes a facility to send cookies back with the response.
Is there a program which can automatically transmit several requests with a time delay in URL format to a given Server. The response will be analysed by hand.
The "Watchdog" test suite (package "jakarta-watchdog" on the Jakarta web site) contains compatibility tests that can be used to test the spec conformance of a servlet or JSP engine. It uses an automated test harness that does a lot of the things you describe. The basic idea is that you write client code chunks that submit a request, and then inspect the response. The harness has tools for automatically comparing responses with the desired values. You might find this a useful basis for your work.
Roland Ettema debis Systemhaus GEI mbH Pascalstraße 14 Postfach 50 01 44 D-52076 Aachen D-52085 Aachen
Telefon: (49) 24 08 / 943 862 Fax: (49) 24 08 / 943 354 eMail: ett...@gei-aachen.de
Craig McClanahan
__ _ / / (_)__ __ ____ __ / /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a /____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .





