This is the home page of the self test hierarchy.

Running the tests from the web

You first need to enable the /admin application. You'll need that for other purposes as well.

Edit TOMCAT_HOME/conf/server.xml and replace:
<Context path="/admin" docBase="webapps/admin" debug="0" reloadable="true" trusted="false" >
With:
< Context path="/admin" docBase="webapps/admin" debug="0" reloadable="true" trusted="true" >

You'll also need to edit TOMCAT_HOME/conf/users/admin-users.xml and TOMCAT_HOME/conf/users/global-users.xml and change the password of the admin and root users ( very important for security reasons ).

After that you can just go to /admin/test/test.jsp and you'll see the test results.

You can run only subsets of the tests:

Automated ( script based ) run

There are 2 ways to run the sanity checks in a nightly or automated way.

The easiest is to use a bit of "sed" magic to make /admin "trusted", then start the server and use "wget" or "htget" or any equivalent program ( I'll include a java one soon ) to get the /admin/test/test.jsp page.

The alternate solution is to run the scripts provided in TOMCAT_HOME/webapps/test/WEB-INF/scripts ( instructions will be added soon if anyone asks )