You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Ettema, Roland" <Et...@gei-aachen.de> on 2000/05/25 14:24:33 UTC
Automatic testing of servlets
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.
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: ettema@gei-aachen.de
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . 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 . . .
Re: Automatic testing of servlets
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
"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: ettema@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 . . .
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org