You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Armin S. A. Roehrl" <Ar...@epfl.ch> on 2000/08/25 00:46:52 UTC

Servlets & automatic testing

Dear All,


I'm rather new to tomcat, so sorry if I ask a question that has been
around before.

I develop a servlet that uses session management. Did anybody
happen to write already a few classes for testing purposes
that simulate a human user-cycle? i.e. pass the authentication
step, do a few clicks and then compare the result with some
pre-defined pattern.

Any links/samples would be highly appreciated,

Thanks & hey, tomcat is great,
	Armin

Re: Servlets & automatic testing

Posted by Russell Gold <ru...@acm.org>.
At 6:46 PM -0400 8/24/00, Armin S. A. Roehrl wrote:
>I develop a servlet that uses session management. Did anybody
>happen to write already a few classes for testing purposes
>that simulate a human user-cycle? i.e. pass the authentication
>step, do a few clicks and then compare the result with some
>pre-defined pattern.

<http://httpunit.sourceforge.net> has what you want.

------------------------------------------------------------------------
Russell Gold                     | "... society is tradition and order
russgold@acm.org    (preferred)  | and reverence, not a series of cheap
russgold@netaxs.com              | bargains between selfish interests."
rgold@thesycamoregroup.com       |   - Poul Anderson, "Iron"