<% // Need more tags - if, etc
%>
FAIL ( <%=
failures.getHttpClient().getComment() %> )
<%= failures.getHttpRequest().getRequestLine() %>
TEST: <%= failures.getTestDescription() %>
Request:
<%= failures.getHttpRequest().getFullRequest() %>
Comments:
<%= failures.getHttpClient().getComment() %>
Message:
<%= failures.getMessage() %>
<% // use a tag %>
<% if( request.getParameter("debug" ) != null ) { %>
Response status:
<%= failures.getHttpResponse().getResponseLine() %>
Response headers:
(I'm not sure how to do embeded iterations, need JSP expert )
Response body:
<%= failures.getHttpResponse().getResponseBody() %>
<% } %>
<% // -------------------- Success story -------------------- %>