commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
  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">
      <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>
              <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>
      <h3>session tag</h3>
              <li>attributes: id, label</li>
              <li>holds requests, reportMessages</li>
      <h3>reportMessage tag</h3>
              <li>there for compatibility</li>
              <li>has a message body</li>
              <li>echo's message</li>
      <h3>request tag</h3>
              <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)
      <h3>credentials tag</h3>
              <li>attributes user name and password</li>
      <h3>header tag</h3>
              <li>attributes: name, value</li>
      <h3>params tag</h3>
              <li>attributes: name, value</li>
      <h3>validate tag</h3>
              <li>needed for compatibility</li>
              <li>holds tests. These are validations on the returned http response
          <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.
              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
              <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>
              <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>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message