The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.01

  • ENHANCEMENTS:
  • Port self-testing suite from Test to Test::More.
  • HTTP::WebTest allows to specify non-default parser for wtscript files.
  • Now HTTP::WebTest::Parser can generate wtscript files from test parameters.
  • DEPRECATIONS:
  • Subroutines 'start_webserver' and 'stop_webserver' was moved from HTTP::WebTest::SelfTest to HTTP::WebTest::Utils. They still can be exported from HTTP::WebTest::SelfTest but their usage from this module is deprecated.
  • BUG FIXES:
  • New versions of LWP add Client-Peer header in all responses what breaks one of tests in self-testing suite. This test is fixed so it should pass ok with both new and old versions of LWP. Thanks to Johannes la Poutre for bug report.
  • Test in self-testing suite for 'timeout' parameter was buggy and could fail on some machines. Thanks to Johannes la Poutre for bug report.
  • HTTP::WebTest::Plugin::HarnessReport produced report output on STDERR what was adding noise in 'make test' output when being used in Test::Harness-style test suites.

Documentation

wt
test one or more web pages
Recipes for typical web tests
Plugin developers documentation.

Modules

a bundle to install HTTP::WebTest
Testing static and dynamic web content
API of HTTP::WebTest
Cookie storage and management
Parse wtscript files.
Base class for HTTP::WebTest plugins.
Click buttons and links on web page
Response body size checks
Send and recieve cookies in tests
Default test report plugin.
Pause before running test
Test::Harness compatible reports
Provides callbacks called during test run
Loads external plugins
Tests for response time
Initializes HTTP request for web test
Checks the HTTP response status
Test the content of the HTTP response.
Subclass for HTTP::WebTest report plugins.
HTTP request objects
Helper package for HTTP::WebTest test suite
Test object class
Test results class
Miscellaneous subroutines used by HTTP::WebTest

Provides

in lib/HTTP/WebTest/Utils.pm