sebb 2005/09/03 16:57:53
Modified: xdocs/usermanual Tag: rel-2-1 functions.xml
Log:
Minor clarifications
Revision Changes Path
No revision
No revision
1.21.2.1 +9 -1 jakarta-jmeter/xdocs/usermanual/functions.xml
Index: functions.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/functions.xml,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -r1.21 -r1.21.2.1
--- functions.xml 18 Jun 2005 02:17:26 -0000 1.21
+++ functions.xml 3 Sep 2005 23:57:52 -0000 1.21.2.1
@@ -297,11 +297,13 @@
- a random number between 0 and the variable
maxRandom</li>
<li>${minRandom}+Math.floor(Math.random()*(${maxRandom}-${minRandom}+1))
- a random number between the variables
minRandom and maxRandom</li>
+ <li>"${VAR}"=="abcd"</li>
</ul>
</property>
- <property name="Name of function" required="Yes">A reference name
for reusing the value
+ <property name="Name of function" required="No">A reference name for
reusing the value
computed by this function.</property>
</properties>
+<note>Remember to include any necessary quotes for text strings and JMeter
variables</note>
</component>
<component index="19.5.8" name="__Random">
@@ -450,6 +452,11 @@
The BeanShell function evaluates the script passed to it, and returns
the result.
</p>
<p>
+<b>Please note that the BeanShell jar file is not included with JMeter; it
needs to be separately downloaded.
+<br/>
+For full details on using BeanShell, please see the BeanShell web-site at
http://www.beanshell.org/.</b>
+</p>
+<p>
Note that a different Interpreter is used for each independent occurence of
the function
in a test script, but the same Interpreter is used for subsequent
invocations.
This means that variables persist across calls to the function.
@@ -491,6 +498,7 @@
${__BeanShell(source("function.bsh"))} - processes the script in function.bsh
</pre>
</p>
+<note>Remember to include any necessary quotes for text strings and JMeter
variables</note>
</component>
<component index="19.5.14" name="__split">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]