You may want to check out
HTTP::WebTest as well. It facilitates testing of the responses that come back from your web application. I use it to run weekly tests against my systems as well as during development to run a more complete series of tests to ensure operation of all functions.