';

Ilya Martynov's Website

Tue, 03 May 2005

HTTP-WebTest

Overview

HTTP-WebTest tests remote URLs or local web files

This module runs tests on remote URLs or local web files containing Perl/JSP/HTML/JavaScript/etc. and generates a detailed test report.

The test specifications can be read from a parameter file or input as method arguments. If you are testing a local file, Apache is started on a private/dynamic port with a configuration file in a temporary directory. The module displays the test results on the terminal by default or directs them to a file. The module optionally e-mails the test results. When the calling program exits, the module stops the local instance of Apache and deletes the temporary directory.

Each test consists of literal strings or regular expressions that are either required to exist or forbidden to exist in the fetched page. You can also specify tests for the minimum and maximum number of bytes in the returned page. You can also specify tests for the minimum and maximum web server response time. If you are testing a local file, the module checks the error log in the temporary directory before and after the file is fetched from Apache. If messages are written to the error log during the fetch, the module flags this as an error and writes the messages to the output test report.

Download

You can download this module here or from your closest CPAN mirror.

Documentation

HTML documentation generated from POD is available from search.cpan.org.

Support

You can use http-webtest-general@lists.sourceforge.net mailing list to discuss HTTP-WebTest or submit bug reports. You can subscribe on it here.

See Also

SourceForge.net project page.

[/software/webtest] permanent link