FYI, I have modified the Watchdog 4.0 management scripts to deal with the
fact that we fixed Tomcat to return HTTP/1.1 (per RFC 2616, Section 3.1).
The JSP tests really care about the *content* of the response anyway, so
the check for protocol was unnecessary.
Craig
---------- Forwarded message ----------
Date: 9 Aug 2001 17:35:14 -0000
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: cvs commit: jakarta-watchdog-4.0/src/conf jsp-gtest.xml
craigmcc 01/08/09 10:35:14
Modified: src/conf jsp-gtest.xml
Log:
Update the Ant script controlling the JSP tests so that none of them
gratuitously fail because of differences in the HTTP protocol version
returned by the server.
Revision Changes Path
1.9 +4 -4 jakarta-watchdog-4.0/src/conf/jsp-gtest.xml
Index: jsp-gtest.xml
===================================================================
RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/jsp-gtest.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- jsp-gtest.xml 2001/07/20 23:07:56 1.8
+++ jsp-gtest.xml 2001/08/09 17:35:13 1.9
@@ -629,7 +629,7 @@
<gtest request="GET
/jsp-tests/jsp/core_syntax/directives/page/session/positiveSession.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"
- returnCode="HTTP/1.0 200 OK"
+ returnCode="200"
responseMatch="got true"
testName="positiveSession.jsp"
assertion="Test the implicit session object and call one of its methods,
specified in the Java Server Pages Specification v1.2, Sec 2.11.1"
@@ -638,7 +638,7 @@
<gtest request="GET
/jsp-tests/jsp/core_syntax/directives/page/session/positiveSessionDefault.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"
- returnCode="HTTP/1.0 200 OK"
+ returnCode="200"
responseMatch="got true"
testName="positiveSessionDefault.jsp"
assertion="Test to invoke a method on the implicit session object.,
specified in the Java Server Pages Specification v1.2, Sec 2.11.1"
@@ -647,7 +647,7 @@
<gtest request="GET
/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffAutoflush.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"
- returnCode="HTTP/1.0 200 OK"
+ returnCode="200"
responseMatch="5999"
testName="positiveBuffAutoflush.jsp"
assertion="Set autoflush to true. Use default buffer size of 8kb. Write
more than 8kb of data to the out object, specified in the Java Server Pages
Specification v1.2, Sec 2.11.1"
@@ -656,7 +656,7 @@
<gtest request="GET
/jsp-tests/jsp/core_syntax/directives/page/buffer/positiveBuffCreate.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"
- returnCode="HTTP/1.0 200 OK"
+ returnCode="200"
responseMatch="999"
testName="positiveBuffCreate.jsp"
assertion="Create a buffer size of say 12kb. Keep autoflush set to
false(default).Write characters to the out object. Invoke the flush() method on out to
flush the output to the client., specified in the Java Server Pages Specification
v1.2, Sec 2.11.1"