Author: sebb
Date: Tue Jan 13 08:43:02 2009
New Revision: 734176
URL: http://svn.apache.org/viewvc?rev=734176&view=rev
Log:
Document lack of variables in IF controller script
Modified:
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=734176&r1=734175&r2=734176&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Tue Jan 13
08:43:02 2009
@@ -1565,6 +1565,11 @@
Also, variable expressions can return any value, whereas the
Javascript condition must return "true"/"false" or an error is
logged.
</p>
+ <note>
+ No variables are made available to the script when the
condition is interpreted as Javascript.
+ If you need access to such variables, then select "Interpret
Condition as Variable Expression?" and use
+ a __javaScript() function call. You can then use the objects
"vars", "log", "ctx" etc. in the script.
+ </note>
</description>
<properties>
<property name="Name" required="No">Descriptive name for this controller
that is shown in the tree.</property>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]