sebb        2004/10/08 16:07:06

  Modified:    xdocs/usermanual Tag: rel-2_0 component_reference.xml
  Log:
  Updated Beanshell Assertion details; added demo script
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.87.2.11 +10 -7     jakarta-jmeter/xdocs/usermanual/component_reference.xml
  
  Index: component_reference.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/component_reference.xml,v
  retrieving revision 1.87.2.10
  retrieving revision 1.87.2.11
  diff -u -r1.87.2.10 -r1.87.2.11
  --- component_reference.xml   8 Oct 2004 20:53:25 -0000       1.87.2.10
  +++ component_reference.xml   8 Oct 2004 23:07:06 -0000       1.87.2.11
  @@ -1481,18 +1481,21 @@
   <property name="Script file" required="No">A file containing the BeanShell script 
to run</property>
   <property name="Script" required="No">The BeanShell script to run</property>
   </properties>
  -<p>The following variables are defined to the script:
  +<p>There's a <a href="../demos/BeanShellAssertion.bsh">sample script</a> you can 
try.</p>
  +<p>The following variables are defined to the script. 
  +These are strings unless otherwise noted:
   <ul>
  +<li>log - the Logger Object. (e.g.) log.warn("Message"[,Throwable])</li>
        <li>Response - the response Object; read-write</li>
        <li>Failure - boolean; read-write; used to set the Assertion status</li>
        <li>FailureMessage - String; read-write; used to set the Assertion message</li>
  -     <li>ResponseData - the response body</li>
  +     <li>ResponseData - the response body (byte [])</li>
        <li>ResponseCode - e.g. 200</li>
        <li>ResponseMessage - e.g. OK</li>
        <li>ResponseHeaders - contains the HTTP headers</li>
  -     <li>RequestHeaders - containse the HTTP headers sent to the server</li>
  +     <li>RequestHeaders - contains the HTTP headers sent to the server</li>
        <li>SampleLabel</li>
  -     <li>SamplerData</li>
  +     <li>SamplerData - data that was sent to the server</li>
   </ul>
   </p>
   </component>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to