You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/08/01 11:28:43 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR Update.xml
juergen 2002/08/01 02:28:43
Modified: testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Delete_Semantics
WSVcWSChoutUnchout.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace
WsMveChoutChinUpdte.xml WsChoutMveChinUpdte.xml
VCRDelWSChoutChinUpdte.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR
Update.xml
Log:
minor clean-up, body for update is still missing.
Revision Changes Path
1.2 +154 -188 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Delete_Semantics/WSVcWSChoutUnchout.xml
Index: WSVcWSChoutUnchout.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Delete_Semantics/WSVcWSChoutUnchout.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WSVcWSChoutUnchout.xml 31 Jul 2002 08:51:36 -0000 1.1
+++ WSVcWSChoutUnchout.xml 1 Aug 2002 09:28:43 -0000 1.2
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if its possible to checkout a resource after an UPDATE command has been issued </abstract>
-
<description>
1) MKWORKSPACE command carried out to create a workspace
2) MKWORKSPACE command carried out to create another workspace
@@ -17,190 +14,159 @@
8) Update command which Updates the file in the second workspace
9) checkout command which checks out the file from the second workspace
</description>
-
<expectedResult> Second checkout command should be succesfull</expectedResult>
</specification>
-
-<step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <checked-in>
- <href>%VHR%</href>
- </checked-in>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <cleanup>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-in>
+ <href>%VHR%</href>
+ </checked-in>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.2 +376 -435 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/WsMveChoutChinUpdte.xml
Index: WsMveChoutChinUpdte.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/WsMveChoutChinUpdte.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WsMveChoutChinUpdte.xml 30 Jul 2002 14:03:14 -0000 1.1
+++ WsMveChoutChinUpdte.xml 1 Aug 2002 09:28:43 -0000 1.2
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if rename and update works fine in workspaces </abstract>
-
<description>
1) MKWORKSPACE command carried out to create a workspace
2) MKWORKSPACE command carried out to create another workspace
@@ -20,442 +17,386 @@
11) CHECKOUT command which checks out the file in the second workspace
12) CHECKIN command which checkin the file in the second workspace
</description>
-
<expectedResult> checkout and checkin command in second workspace after checkout, move, checkin and Update in the first workspace works fine </expectedResult>
</specification>
-
-<step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <checked-in>
- <href>%VHR%</href>
- </checked-in>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">MOVE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Overwrite: F</header>
- <header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Content-: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Mon, 19 Mar 2001 17:24:08 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-in>
+ <href>%VHR%</href>
+ </checked-in>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">MOVE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Overwrite: F</header>
+ <header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Content-: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH2%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>content-type: text/xml; charset="utf-8"</header>
- <header>content-length: 161</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
- <D:update xmlns:D="DAV:">
- <D:version>
- <D:href>%VH2%</D:href>
- </D:version>
- </D:update>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.1 207 Multi-Status</command>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
- <D:status>HTTP/1.1 200 OK</D:status>
- </D:response>
-</D:multistatus>]]>
-</body>
- </response>
-</step>
-
-
-
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>%VH%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH2%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VH2%</D:href>
+ </D:version>
+ </D:update>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.1 207 Multi-Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH4%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH5,VH4" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH4%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH5,VH4" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH4%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH5%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-
-
- <cleanup>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: </header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>%VH4%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH5%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: </header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <version-history>
- <href>%VHH%</href>
- </version-history>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <version-history>
+ <href>%VHH%</href>
+ </version-history>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ </cleanup>
</test>
1.2 +376 -434 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/WsChoutMveChinUpdte.xml
Index: WsChoutMveChinUpdte.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/WsChoutMveChinUpdte.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WsChoutMveChinUpdte.xml 30 Jul 2002 14:03:14 -0000 1.1
+++ WsChoutMveChinUpdte.xml 1 Aug 2002 09:28:43 -0000 1.2
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if rename and update works fine in workspaces </abstract>
-
<description>
1) MKWORKSPACE command carried out to create a workspace
2) MKWORKSPACE command carried out to create another workspace
@@ -20,440 +17,385 @@
9) CHECKOUT command which checks out the file in the second workspace
10) CHECKIN command which checkin the file in the second workspace
</description>
-
<expectedResult> checkout and checkin command in second workspace after checkout, move, checkin and Update in the first workspace works fine </expectedResult>
</specification>
-
-<step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <checked-in>
- <href>%VHR%</href>
- </checked-in>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-in>
+ <href>%VHR%</href>
+ </checked-in>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">MOVE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Overwrite: F</header>
- <header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Content-: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Mon, 19 Mar 2001 17:24:08 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">MOVE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Overwrite: F</header>
+ <header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Content-: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ <header>Date: Mon, 19 Mar 2001 17:24:08 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/files.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH2%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>content-type: text/xml; charset="utf-8"</header>
- <header>content-length: 161</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
- <D:update xmlns:D="DAV:">
- <D:version>
- <D:href>%VH2%</D:href>
- </D:version>
- </D:update>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.1 207 Multi-Status</command>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
- <D:status>HTTP/1.1 200 OK</D:status>
- </D:response>
-</D:multistatus>]]>
-</body>
- </response>
-</step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH3,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>%VH%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH2%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>content-type: text/xml; charset="utf-8"</header>
+ <header>content-length: 161</header>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VH2%</D:href>
+ </D:version>
+ </D:update>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.1 207 Multi-Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH3,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH4%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH4,VH5" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH4%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH4,VH5" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH4%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH5%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-
-
- <cleanup>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: </header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <version-history>
- <href>%VHH%</href>
- </version-history>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <response>
+ <href>%VH4%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH5%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: </header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <version-history>
+ <href>%VHH%</href>
+ </version-history>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.6 +358 -416 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/VCRDelWSChoutChinUpdte.xml
Index: VCRDelWSChoutChinUpdte.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/additionalUseCases/workspace/VCRDelWSChoutChinUpdte.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- VCRDelWSChoutChinUpdte.xml 30 Jul 2002 13:10:18 -0000 1.5
+++ VCRDelWSChoutChinUpdte.xml 1 Aug 2002 09:28:43 -0000 1.6
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if rename and update works fine in workspaces </abstract>
-
<description>
1) MKWORKSPACE command carried out to create a workspace
2) MKWORKSPACE command carried out to create another workspace
@@ -19,422 +16,367 @@
9) CHECKOUT command which checks out the file in the second workspace
10) CHECKIN command which checkin the file in the second workspace
</description>
-
<expectedResult> checkout and checkin command in second workspace after checkout, move, checkin and Update in the first workspace works fine </expectedResult>
</specification>
-
-<step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
- <propstat>
- <prop>
- <checked-in>
- <href>%VHR%</href>
- </checked-in>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <D:version-control xmlns:D="DAV:">
- <D:version>
- <D:href>%VHR%</D:href>
- </D:version>
- </D:version-control>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Content-length: 0</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-in>
+ <href>%VHR%</href>
+ </checked-in>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:version-control xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VHR%</D:href>
+ </D:version>
+ </D:version-control>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH" varDefinition="VH" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND %VH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH,VH2" varDefinition="VH2" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH2%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>content-type: text/xml; charset="utf-8"</header>
- <header>content-length: 161</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
- <D:update xmlns:D="DAV:">
- <D:version>
- <D:href>%VH2%</D:href>
- </D:version>
- </D:update>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.1 207 Multi-Status</command>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
- <D:status>HTTP/1.1 200 OK</D:status>
- </D:response>
-</D:multistatus>]]>
-</body>
- </response>
-</step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>%VH%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH2%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>content-type: text/xml; charset="utf-8"</header>
+ <header>content-length: 161</header>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>%VH2%</D:href>
+ </D:version>
+ </D:update>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.1 207 Multi-Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH2"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</D:href>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH4" varDefinition="VH4" varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
- <propstat>
- <prop>
- <checked-out>
- <href>%VH4%</href>
- </checked-out>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.1 201 Created</command>
- <header>Cache-Control: no-cache</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: text/xml</header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VH4,VH5" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml</href>
+ <propstat>
+ <prop>
+ <checked-out>
+ <href>%VH4%</href>
+ </checked-out>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName,VH3">CHECKIN /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 201 Created</command>
+ <header>Cache-Control: no-cache</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH4">PROPFIND %VH4% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VH4,VH5" varDefinition="VH5" varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
- <response>
- <href>%VH4%</href>
- <propstat>
- <prop>
- <successor-set>
- <href>%VH5%</href>
- </successor-set>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-
-
- <cleanup>
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Content-Type: </header>
- <header>Translate: f</header>
- <header>Depth: 1</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:">
- <response>
- <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
- <propstat>
- <prop>
- <version-history>
- <href>%VHH%</href>
- </version-history>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
-</multistatus>]]>
- </body>
- </response>
- </step>
-
-
- <step>
- <request>
- <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <response>
+ <href>%VH4%</href>
+ <propstat>
+ <prop>
+ <successor-set>
+ <href>%VH5%</href>
+ </successor-set>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: </header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+ <href>/%globalVariableServerName%/workspace/%globalVariableCollection%/WS/test.xml</href>
+ <propstat>
+ <prop>
+ <version-history>
+ <href>%VHH%</href>
+ </version-history>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE %VHH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/WS2 HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.3 +67 -95 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC/Update.xml
Index: Update.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC/Update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Update.xml 31 Jul 2002 12:52:47 -0000 1.2
+++ Update.xml 1 Aug 2002 09:28:43 -0000 1.3
@@ -1,107 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if possible to perform a Update command on an locked collection </abstract>
-
<description>
1) Mkcoll creates a collection
2) Update command carried out on a locked collection
</description>
-
<expectedResult> Update command should return 207 Multi Status </expectedResult>
</specification>
-
<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">LOCK /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
- <header>Timeout: Second-604800</header>
- <header>Content-type: text/xml</header>
- <body><![CDATA[<?xml version="1.0"?><A:lockinfo xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableUserPath,globalVariableServerName,user,host">
- <![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>%globalVariableUserPath%</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]>
- </body>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedC</D:href>
- <D:status>HTTP/1.1 409 Conflict</D:status>
- <D:responsedescription>
- <D:error>
- <D:must-be-checked-in-version-controlled-resource />
- </D:error>
- </D:responsedescription>
- </D:response>
-</D:multistatus>]]>
- </body>
- </response>
- </step>
-
-
- <cleanup>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
- <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">LOCK /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
+ <header>Timeout: Second-604800</header>
+ <header>Content-type: text/xml</header>
+ <body><![CDATA[<?xml version="1.0"?><A:lockinfo xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>%globalVariableUserPath%</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedC</D:href>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ <D:responsedescription>
+ <D:error>
+ <D:must-be-checked-in-version-controlled-resource />
+ </D:error>
+ </D:responsedescription>
+ </D:response>
+ </D:multistatus>]]>
+ </body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1 </command>
+ <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1 </command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.3 +82 -109 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Update.xml
Index: Update.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Update.xml 31 Jul 2002 12:52:47 -0000 1.2
+++ Update.xml 1 Aug 2002 09:28:43 -0000 1.3
@@ -1,121 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if possible to perform a Update command on a VCR </abstract>
-
<description>
1) Put command creates a file
2) VERSION-CONTROL command which puts a resource under version control
3) Update command carried out on a VCR
</description>
-
<expectedResult> Update command should return 207 Multi Status </expectedResult>
</specification>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">LOCK /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header>Timeout: Second-604800</header>
- <header>Content-type: text/xml</header>
- <body><![CDATA[<?xml version="1.0"?><A:lockinfo xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableUserPath,globalVariableServerName,user,host">
- <![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>%globalVariableUserPath%</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]>
- </body>
- </response>
- </step>
-
-<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="VH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml</D:href>
- <D:status>HTTP/1.1 409 Conflict</D:status>
- <D:responsedescription>
- <D:error>
- <D:must-be-checked-in-version-controlled-resource />
- </D:error>
- </D:responsedescription>
- </D:response>
-</D:multistatus>]]>
- </body>
- </response>
- </step>
-
-
- <cleanup>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">LOCK /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header>Timeout: Second-604800</header>
+ <header>Content-type: text/xml</header>
+ <body><![CDATA[<?xml version="1.0"?><A:lockinfo xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body varUsage="globalVariableUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>%globalVariableUserPath%</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <header varUsage="automaticVariable1">If: (<%varUsage%>)</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="VH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml</D:href>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ <D:responsedescription>
+ <D:error>
+ <D:must-be-checked-in-version-controlled-resource />
+ </D:error>
+ </D:responsedescription>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.2 +48 -67 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC/Update.xml
Index: Update.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC/Update.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Update.xml 26 Jul 2002 08:11:20 -0000 1.1
+++ Update.xml 1 Aug 2002 09:28:43 -0000 1.2
@@ -1,79 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if possible to perform a Update command on an Unlocked collection </abstract>
-
<description>
1) Mkcoll creates a collection
2) Update command carried out on a Unlocked collection
</description>
-
<expectedResult> Update command should return 207 Multi Status </expectedResult>
</specification>
-
<step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedC</D:href>
- <D:status>HTTP/1.1 409 Conflict</D:status>
- <D:responsedescription>
- <D:error>
- <D:must-be-checked-in-version-controlled-resource />
- </D:error>
- </D:responsedescription>
- </D:response>
-</D:multistatus>]]>
- </body>
- </response>
- </step>
-
-
- <cleanup>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedC</D:href>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ <D:responsedescription>
+ <D:error>
+ <D:must-be-checked-in-version-controlled-resource />
+ </D:error>
+ </D:responsedescription>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
1.2 +50 -70 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR/Update.xml
Index: Update.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR/Update.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Update.xml 26 Jul 2002 08:11:30 -0000 1.1
+++ Update.xml 1 Aug 2002 09:28:43 -0000 1.2
@@ -1,81 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if possible to perform a Update command on an Unlocked resource </abstract>
-
<description>
1) Put command creates a file
2) Update command carried out on a Unlocked resource
</description>
-
<expectedResult> Update command should return 207 Multi Status </expectedResult>
</specification>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- <body fileReference="../../../../contentDirectory/validXML.xm1">
- </body>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi Status</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="VH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml</D:href>
- <D:status>HTTP/1.1 409 Conflict</D:status>
- <D:responsedescription>
- <D:error>
- <D:must-be-checked-in-version-controlled-resource />
- </D:error>
- </D:responsedescription>
- </D:response>
-</D:multistatus>]]>
- </body>
- </response>
- </step>
-
-
- <cleanup>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- </response>
- </step>
-
- </cleanup>
-
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml</D:href>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ <D:responsedescription>
+ <D:error>
+ <D:must-be-checked-in-version-controlled-resource />
+ </D:error>
+ </D:responsedescription>
+ </D:response>
+ </D:multistatus>]]></body>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>