资 源 简 介
Http-perf-tool is a simple perfomance and availiability test tool. It uses the Open Source testing tool Selenium RC to check a web site frequently and measure the loading time. All data such as success and time is saved to a database (mysql was used). On scheduled time a report is built on the collected data with min, max and average time, the report gets saved and mailed.
All implementation is done in Perl, configuration and changes is done in the source. The scripts are run and tested in a Linux Ubuntu environment without any logged on users using a virtual frame buffer, both selenium-rc and Xvfb was installed.
See Downloads (http://code.google.com/p/http-perf-tool/downloads/list) for
* How Xvfb and selenium-rc was started and run in background
* The database definition of the table
* An example of the testreport
* How cron was configured
And Source (http://code.google.com/p/http-perf-tool/source/browse/#svn/trunk) to
get the perl code.
A simple sup