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/java/org/apache/commons/latka/jelly README.html
Date Sun, 30 Jun 2002 05:53:20 GMT
dion        2002/06/29 22:53:20

  Added:       latka/src/java/org/apache/commons/latka/jelly README.html
  Log:
  Details on plans
  
  Revision  Changes    Path
  1.1                  jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/README.html
  
  Index: README.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  
  <HTML>
    <HEAD>
      <TITLE></TITLE>
    </HEAD>
    <BODY>
      <h1>Jelly-Latka implementation</h1>
  
      <h2>Unresolved issues</h2>
      <p>Is it up to the tag to 'evaluate' it's body - Yes (invokeBody)</p>
      <p>Best place for 'variables' - in the context or in a parent tag</p>
  
      <h2>Latka Taglibrary</h2>
  
      <h3>suite tag</h3>
          <ul>
              <li>attributes: host, port, proxyHost, proxyPort, proxyUser, 
                  proxyPassword, label, id</li>
              <li>holds sessions, requests and messages, proxyCredentials?</li>
              <li>what does it do? Execute's the children? Sets them up somehow? 
                  Creates credentials and proxy if needed?</li>
          </ul>
  
      <h3>session tag</h3>
          <ul>
              <li>attributes: id, label</li>
              <li>holds requests, reportMessages</li>
          </ul>
  
      <h3>reportMessage tag</h3>
          <ul>
              <li>there for compatibility</li>
              <li>has a message body</li>
              <li>echo's message</li>
          </ul>
  
      <h3>request tag</h3>
          <ul>
              <li>holds credentials, headers, params, optional validate</li>
              <li>attributes: path, method (get), secure (false), host, port, 
                  proxyHost, proxyPort, proxyUser, proxyPassword, label, id, 
                  followRedirects (true)
              </li>
          </ul>
  
      <h3>credentials tag</h3>
          <ul>
              <li>attributes user name and password</li>
          </ul>
  
      <h3>header tag</h3>
          <ul>
              <li>attributes: name, value</li>
          </ul>
  
      <h3>params tag</h3>
          <ul>
              <li>attributes: name, value</li>
          </ul>
  
      <h3>validate tag</h3>
          <ul>
              <li>needed for compatibility</li>
              <li>holds tests. These are validations on the returned http response
                  etc.
              </li>
          </ul>
  
      <h2>TESTS</h2>
          <p>Some of these may be far easier done by using a junit style assert
              tag for jelly, and exposing the http response details as a jelly
              variable, along with the requests.
          </p>
          <p>
              The idea here is also to use Jelly's context to implement Latka's
              variables and the ability to take input params from the results of
              other pages using xpath
          </p>
  
          <ul>
              <li>bytelength - min, max, label</li>
              <li>cookie - name, value, 'cond', label</li>
              <li>goldenfile - filename, ignoreWhitespace, label</li>
              <li>maxrequesttime - millis, label</li>
              <li>regexp - pattern, 'cond', ignoreCase, label</li>
              <li>responseHeader - name, value, 'cond', label</li>
              <li>statusCode - code, label</li>
              <li>statusText - text, label</li>
              <li>xpath - select, 'cond', value, label</li>
          </ul>
  
      <h2>macros</h2>
          <ul>
              <li>fast - 2.5 seconds</li>
              <li>slow - 5 seconds</li>
              <li>tiny - <= 1k</li>
              <li>small - 1k - 10k</li>
              <li>medium - 8k - 22k</li>
              <li>large - 18k - 32k</li>
              <li>huge > 30k</li>
          </ul>
  
    </BODY>
  </HTML>
  
  
  

--
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