Author: sebb
Date: Wed Jan 16 07:39:56 2008
New Revision: 612488
URL: http://svn.apache.org/viewvc?rev=612488&view=rev
Log:
Document which functions can be used on the test plan
Modified:
jakarta/jmeter/trunk/xdocs/changes.xml
jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=612488&r1=612487&r2=612488&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Wed Jan 16 07:39:56 2008
@@ -87,6 +87,8 @@
<li>Now checks that the remoteStart options -r and -R are only used with
non_GUI -n option</li>
<li>Bug 44184 - Allow header to be saved with Aggregate Graph data</li>
<li>Added "Save Table Data" buttons to Aggregate and Summary Reports - save
table as CSV format with header</li>
+<li>Allow most functions to be used on the Test Plan.
+Note __split() and __regex() cannot be used on the Test Plan.</li>
</ul>
<h4>Non-functional changes</h4>
Modified: jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/functions.xml?rev=612488&r1=612487&r2=612488&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/functions.xml Wed Jan 16 07:39:56 2008
@@ -125,9 +125,30 @@
<subsection name="§-num;.2 Where can functions and variables be used?"
anchor="where">
<p>
-Functions and variables can be written into any field of any test component.
Some fields do not allow random strings
+Functions and variables can be written into any field of any test component
(apart from the TestPlan - see below).
+Some fields do not allow random strings
because they are expecting numbers, and thus will not accept a function.
However, most fields will allow
functions.
+</p>
+<p>
+Functions which are used on the Test Plan have some restrictions.
+JMeter thread variables will have not been fully set up when the functions are
processed,
+so variable names passed as parameters will not be set up, and variable
references will not work,
+so split() and regex() and the variable evaluation functions won't work.
+The threadNum() function won't work (and does not make sense at test plan
level).
+The following functions should work OK on the test plan:
+<ul>
+<li>intSum</li>
+<li>longSum</li>
+<li>machineName</li>
+<li>BeanShell</li>
+<li>javaScript</li>
+<li>jexl</li>
+<li>random</li>
+<li>time</li>
+<li>property functions</li>
+<li>log functions</li>
+</ul>
</p>
<p>
Configuration elements are processed by a separate thread.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]