juergen 2003/10/29 04:48:57
Modified:
testsuite/testsuite/junit/xmltestcases/multi-user/concurrent/DifferentCollections/invalidXML
Put10Del10.xml
Log:
(fga) Now test writes/deletes in different folders instead of writing different
files in one folder.
Revision Changes Path
1.4 +20 -4
jakarta-slide/testsuite/testsuite/junit/xmltestcases/multi-user/concurrent/DifferentCollections/invalidXML/Put10Del10.xml
Index: Put10Del10.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/multi-user/concurrent/DifferentCollections/invalidXML/Put10Del10.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Put10Del10.xml 13 Aug 2002 12:45:09 -0000 1.3
+++ Put10Del10.xml 29 Oct 2003 12:48:56 -0000 1.4
@@ -25,31 +25,47 @@
<header>Content-Language: en</header>
</response>
</step>
+ <!-- Create a folder for each user -->
+ <repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
HTTP/1.1</command>
+ <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>Content-Language: en</header>
+ </response>
+ </step>
+ </repeater>
+
<repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
<step>
<request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/File%userNumber%.xml
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test%userNumber%/File%userNumber%.xml
HTTP/1.1</command>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data
Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/invalidXML.xm1"/>
</request>
<response>
- <command>HTTP/1.0 (201,204,409)
OK</command>
+ <command>HTTP/1.0 (201,204)
OK</command>
<header>Content-Language: en</header>
</response>
</step>
<step>
<request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test/File%userNumber%.xml
HTTP/1.1</command>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test%userNumber%/File%userNumber%.xml
HTTP/1.1</command>
<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,404,409)</command>
+ <command>HTTP/1.0 (204,404)</command>
<header>Content-Language: en</header>
</response>
</step>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]