juergen 2002/08/09 00:15:20
Modified:
testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Deny
read_Single_Resource.xml
testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Grant
read_Single_Resource.xml
Log:
corrected the file reference specification at the put command.
Revision Changes Path
1.3 +110 -222
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Deny/read_Single_Resource.xml
Index: read_Single_Resource.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Deny/read_Single_Resource.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- read_Single_Resource.xml 8 Aug 2002 16:59:44 -0000 1.2
+++ read_Single_Resource.xml 9 Aug 2002 07:15:20 -0000 1.3
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> n users attempt to deny read access to a resource in their
own user collection. </abstract>
-
<description>
1) MKCol to create 'test' collection. All resources will be created
here. This makes for an easy cleanup.
2) MKCols to create a collection for each user called user1..usern.
@@ -19,81 +16,44 @@
8) GET command by user %user% on each created resource to check that
read privelages have been re-granted.
9) Delete created resource.
</description>
-
<expectedResult> Some users ACL commands should return 200 OK, others
will receive a 409 Conflict error. </expectedResult>
</specification>
-
-
-
<step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test 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>
-
-
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
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>
- </repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/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: Mon, 12 Mar 2001 17:21:35 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>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
</repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <body
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ </repeater>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -103,53 +63,33 @@
<D:privilege><D:read/></D:privilege>
</D:grant>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
</repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Content-Type: text/xml</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>
- <body varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/%globalVariableXMLReference%validXML.xm1"
/>
- </response>
- </step>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </response>
+ </step>
</repeater>
-
-
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
-
- <thread>
-
- <repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
-
-
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <thread>
+ <repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <body
varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -159,51 +99,32 @@
<D:privilege><D:read/></D:privilege>
</D:deny>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 (200,409) OK</command>
- </response>
- </step>
-
-
-
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 403 Forbidden</command>
- <body fileReference="../../../contentDirectory/validXML.xm1" />
- </response>
-
- </step>
-
- </repeater>
-
- </thread>
-
- </repeater>
-
-
-
-
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 (200,409)
OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 403
Forbidden</command>
+ </response>
+ </step>
+ </repeater>
+ </thread>
+ </repeater>
<cleanup>
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml;
charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP
Client/1.0</header>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml;
charset=utf-8</header>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -213,62 +134,29 @@
<D:privilege><D:all /></D:privilege>
</D:grant>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
-
- </step>
-
-
-
-
-
-
-
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName,userNumber">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5;
Windows NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Content-Type: text/xml</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>
- <body varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/%globalVariableXMLReference%validXML.xm1"
/>
- </response>
- </step>
-
-
- </repeater>
-
-
-
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test 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: Wed, 14 Mar 2001 14:47:37
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>
-
-
-
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName,userNumber">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </response>
+ </step>
+ </repeater>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
</cleanup>
-
-</test>
\ No newline at end of file
+</test>
1.3 +113 -220
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Grant/read_Single_Resource.xml
Index: read_Single_Resource.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/DifferentCollections/Grant/read_Single_Resource.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- read_Single_Resource.xml 8 Aug 2002 16:59:44 -0000 1.2
+++ read_Single_Resource.xml 9 Aug 2002 07:15:20 -0000 1.3
@@ -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 possible to grant read-acl while having
read privilege. </abstract>
-
<description>
1) MKCol to create 'test' collection. All resources will be created
here. This makes for an easy cleanup.
2) MKCols to create a collection for each user called user1..usern.
@@ -19,81 +16,45 @@
8) GET command by user %user% on each created resource to check that
read privelages have been re-granted.
9) Delete created resource.
</description>
-
<expectedResult> Some users ACL commands should return 200 OK, others
will receive a 409 Conflict error. </expectedResult>
</specification>
-
-
-
<step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test 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>
-
-
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
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>
- </repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/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: Mon, 12 Mar 2001 17:21:35 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>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
</repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <body
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ </repeater>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml; charset=utf-8</header>
+ <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -103,50 +64,33 @@
<D:privilege><D:read/></D:privilege>
</D:deny>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
- </step>
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
</repeater>
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 403 Forbidden</command>
- </response>
- </step>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 403 Forbidden</command>
+ </response>
+ </step>
</repeater>
-
-
-
-
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
-
- <thread>
-
- <repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
-
-
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
- <body varUsage="host,user"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <thread>
+ <repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml;
charset=utf-8</header>
+ <body
varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -156,52 +100,33 @@
<D:privilege><D:read/></D:privilege>
</D:grant>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 (200,409) OK</command>
- </response>
- </step>
-
-
-
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Content-Type: text/xml</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>
- <body varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/%globalVariableXMLReference%validXML.xm1"
/>
- </response>
- </step>
-
- </repeater>
-
- </thread>
-
- </repeater>
-
-
-
-
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 (200,409)
OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </response>
+ </step>
+ </repeater>
+ </thread>
+ </repeater>
<cleanup>
- <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
- <step>
- <user varUsage="user">2%user%</user>
- <password varUsage="user">2%user%</password>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Content-Type: text/xml;
charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP
Client/1.0</header>
- <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <user varUsage="user">2%user%</user>
+ <password varUsage="user">2%user%</password>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,userNumber">ACL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ <header>Content-Type: text/xml;
charset=utf-8</header>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
@@ -211,62 +136,30 @@
<D:privilege><D:all /></D:privilege>
</D:grant>
</D:ace>
- </D:acl>]]>
- </body>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- </response>
-
- </step>
-
-
-
-
-
-
-
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName,userNumber">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5;
Windows NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
- </request>
- <response>
- <command>HTTP/1.0 200 OK</command>
- <header>Content-Type: text/xml</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>
- <body varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/%globalVariableXMLReference%validXML.xm1"
/>
- </response>
- </step>
-
-
- </repeater>
-
-
-
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test 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: Wed, 14 Mar 2001 14:47:37
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>
-
-
-
+ </D:acl>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName,userNumber">GET
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/test.xml
HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <header>Content-Type: text/xml</header>
+ <body varUsage="globalVariableXMLReference"
fileReference="../../../../contentDirectory/validXML.xm1"/>
+ </response>
+ </step>
+ </repeater>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
</cleanup>
-
-</test>
\ No newline at end of file
+</test>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>