} catch (IllegalAccessException e) {
throw new ServletException("Error invoking test: " + e.getMessage());
} catch (InvocationTargetException e) {
Throwable root = e.getTargetException();
ServletException ex = new ServletException("Test '" + testName + "' failed");
ex.initCause(root);
throw ex;
}
response.setContentType("text/plain");
response.getWriter().println("Test '" + testName + "' passed");