commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/jelly latka.jelly
Date Sun, 07 Jul 2002 14:26:02 GMT
dion        2002/07/07 07:26:02

  Modified:    latka/src/jelly latka.jelly
  Log:
  Add response time output
  
  Revision  Changes    Path
  1.8       +4 -0      jakarta-commons/latka/src/jelly/latka.jelly
  
  Index: latka.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/jelly/latka.jelly,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- latka.jelly	7 Jul 2002 14:04:53 -0000	1.7
  +++ latka.jelly	7 Jul 2002 14:26:02 -0000	1.8
  @@ -11,6 +11,7 @@
           </j:if>
           Results for mtc url are: http return code = ${mtc.statusCode}
           size of result = ${mtc.responseBodyAsString.length()}
  +        response time = ${mtc.responseTime}
           <j:forEach items="${mtc.responseHeaders}" var="header" indexVar="i">
               header[${i}] = ${header}
           </j:forEach>
  @@ -21,12 +22,14 @@
               <header name="Content-Type" value="text/plain"/>
           </get>
           queryString = ${mtc2.queryString}, length = ${mtc2.responseBodyAsString.length()}
  +        response time = ${mtc2.responseTime}
           <j:forEach items="${mtc2.requestHeaders}" var="rHeader" indexVar="i">
               reqHeader[${i}] = ${rHeader}
           </j:forEach>
           
           <get id="badurl" uri="http://www.multitask.com.au/snafu.html"/>
           http return code = ${badurl.statusCode}
  +        bad response time = ${badurl.responseTime} in msec
           
           <post id="jdc" uri="http://developer.java.sun.com/servlet/SessionServlet">
               <parameter name="action" value="login" />
  @@ -36,6 +39,7 @@
           </post>
           jdc login result = ${jdc.statusCode}
           good login = ${jdc.responseBodyAsString.indexOf("Sorry!") == "-1"}
  +        jdc response time = ${jdc.responseTime} in msec
           
       </session>
     </suite>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message