tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/tester/src/bin tester.xml
Date Sun, 04 Feb 2001 05:27:59 GMT
craigmcc    01/02/03 21:27:58

  Modified:    tester/src/bin tester.xml
  Log:
  Add a command to reload the session, which will test automatic unload and
  reload functionality.
  
  NOTE:  Successful execution of the reload requires that you have manually
  added role "manager" to user "tomcat".  Without this, the two reload
  commands will fail but the remainder of the tests should still succeed.
  
  Revision  Changes    Path
  1.12      +15 -0     jakarta-tomcat-4.0/tester/src/bin/tester.xml
  
  Index: tester.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/tester/src/bin/tester.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- tester.xml	2001/02/04 04:49:38	1.11
  +++ tester.xml	2001/02/04 05:27:57	1.12
  @@ -8,6 +8,7 @@
   <!--  <property name="protocol"       value="HTTP/1.0"/> -->
     <property name="protocol"       value=""/> <!-- Use HttpURLConnection -->
     <property name="context.path"   value="/tester"/>
  +  <property name="manager.path"   value="/manager"/>
     <taskdef  name="tester"     classname="org.apache.tester.TestClient"/>
   
   
  @@ -394,7 +395,14 @@
        joinSession="true"
         outContent="Session02 PASSED"/>
   
  +    <!-- NOTE: Assign role "manager" to user "tomcat" for this to work -->
       <tester host="${host}" port="${port}" protocol="${protocol}"
  +           debug="${debug}"
  +       inHeaders="Authorization:Basic dG9tY2F0OnRvbWNhdA=="
  +         request="${manager.path}/reload?path=${context.path}"
  +      outContent="OK - Reloaded application at context path ${context.path}"/>
  +
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
            request="${context.path}/Session03" debug="${debug}"
        joinSession="true"
         outContent="Session03 PASSED"/>
  @@ -407,6 +415,13 @@
            request="${context.path}/WrappedSession02" debug="${debug}"
        joinSession="true"
         outContent="Session02 PASSED"/>
  +
  +    <!-- NOTE: Assign role "manager" to user "tomcat" for this to work -->
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +           debug="${debug}"
  +       inHeaders="Authorization:Basic dG9tY2F0OnRvbWNhdA=="
  +         request="${manager.path}/reload?path=${context.path}"
  +      outContent="OK - Reloaded application at context path ${context.path}"/>
   
       <tester host="${host}" port="${port}" protocol="${protocol}"
            request="${context.path}/WrappedSession03" debug="${debug}"
  
  
  

Mime
View raw message