This set of scripts tests a web server's capabilities, including: CGI execution; SSI parsing; and sockets privileges.
These scripts are useful when debugging problems in higher-level scripts. They can be used to check if the problem in the high-level script is due to a lack of basic functionality on the server.
Latest stable version 1.0.0.0002 released February 26, 2001 [ see Version History ].
Demo of scripts:
- Environment variables test
- Sockets functionality test
- Basic HTML FORM tests
- HTML- and URL-encoding script
Download and Installation
Download / Manual Install - download source, configure, then install by hand.
Automated Install - immediately get a working search engine. No download, no FTP, no mess.
Why Would I Want to Use Testpak?
These scripts are helpful for isolating problems.
If you write to your tech support people and say "this convoluted 20,000-line CGI script that I downloaded doesn't work" then they will probably assume that the fault lies with the script, not their system.
If you can say "your Perl raw sockets functions initialize okay, but I get this specific failure in 'use Socket' and here are the 5 lines of Perl code to repro the problem", then maybe - just maybe - you will get some help.
In addition to harrassing your tech support department, these scripts can help determine whether your system will support certain functions, like sockets privileges, which are not universal.
Your web server software must support Perl CGI scripts.
Your administrators must allow custom CGI scripts.
You can get a free website that meets these requirements at Hypermart.net.