result.addListener(formatter);
long startTime = System.currentTimeMillis();
WebappTestRunner testRunner = new WebappTestRunner();
Test suite = testRunner.getTest(theSuiteClassName);
if (suite == null)
{
throw new ServletException("Failed to load test suite ["
+ theSuiteClassName + "], Reason is ["
+ testRunner.getErrorMessage() + "]");
}
// Run the tests
suite.run(result);