>>>>> On 23 Sep 2002 02:42:14 -0700, "Dave Cross" <[EMAIL PROTECTED]> said:
DC> What is the current state of the art in testing web apps.
DC> What we have:
DC> * mod_perl (Apache::Registry) web site
DC> * cookies (boo!)
DC> * frames (bigger boo!!)
DC> What we need:
DC> A way to throw requests at various parts of the web site in order
DC> to test the a) correctness and b) speed of the responses.
In Perl world there are several modules usable for testing of web
apps:
1) HTTP::WebTest - I'm maintain this one. If you will look on it make
sure to try its beta (1.99_09). In terms of features it is much
more advanced than the last stable release. And anyway it is going
to be marked as stable very soon.
Tests are defined in terms of HTTP requests/responses. For each
response you can check content, size and speed. Though additional
types of tests can be defined by plugins (only in beta).
And yes, it automates cookie handling
2) HTTP::Monkeywrench - AFAIK it is no longer maintained. In my
understanding it offers subset of HTTP::WebTest features.
3) CGI::Test - As I understand works only with Perl CGI's so it is out
of question for you.
4) WWW::Automate and WWW::Chat
5) And of course you can always write your tests with bare
LWP::UserAgent
Of course there are exist non-Perl solutions and probably other Perl
solutions I have missed. Take a look on
http://www.softwareqatest.com/qatweb1.html
--
Ilya Martynov (http://martynov.org/)