juergen 2003/07/04 06:28:20
Added: testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/get
01_getAllGroup.xml 02_getGroup.xml
03_getUserOfGroup.xml
Log:
Initial version
(Josef)
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/get/01_getAllGroup.xml
Index: 01_getAllGroup.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Get Method with Status code 200 works fine.("
taminowebdavserver/administration/security/userdb/groups") </abstract>
<description> The test case consist of following steps: GET
</description>
<expectedResult> Status code returned by Get Method must be 200 Not
Modified </expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableServerName,globalVariableUsersPath">GET
/%globalVariableServerName%%globalVariableUsersPath%/groups 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/html; charset="UTF-8"</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
fileReference="../../../contentDirectory/html.html"/-->
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/get/02_getGroup.xml
Index: 02_getGroup.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Get Method with Status code 200 works fine.("
taminowebdavserver/administration/security/userdb/groups/group0") </abstract>
<description> The test case consist of following steps: GET
</description>
<expectedResult> Status code returned by Get Method must be 200 Not
Modified </expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableServerName,globalVariableUsersPath,globalVariableGroup">GET
/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0
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/html; charset="UTF-8"</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
fileReference="../../../contentDirectory/html.html"/-->
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/get/03_getUserOfGroup.xml
Index: 03_getUserOfGroup.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Get Method with Status code 200 works fine.("
taminowebdavserver/administration/security/userdb/groups/group0/usr") </abstract>
<description> The test case consist of following steps: GET
</description>
<expectedResult> Status code returned by Get Method must be 200 Not
Modified </expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableGroup,user,globalVariableServerName,globalVariableUsersPath">GET
/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%
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>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
fileReference="../../../contentDirectory/html.html"/-->
</response>
</step>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]