You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/04/08 15:42:05 UTC

svn commit: r392524 - /jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml

Author: sebb
Date: Sat Apr  8 06:42:03 2006
New Revision: 392524

URL: http://svn.apache.org/viewcvs?rev=392524&view=rev
Log:
Update JavaScript doc

Modified:
    jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml?rev=392524&r1=392523&r2=392524&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml Sat Apr  8 06:42:03 2006
@@ -320,8 +320,17 @@
 </component>
 
 <component index="&sect-num;.5.7" name="__javaScript">
-<description><p>The javaScript function executes a piece of JavaScript (not Java!) code and returns its value</p>
-	</description>
+<description>
+<p>
+The javaScript function executes a piece of JavaScript (not Java!) code and returns its value
+</p>
+<p>
+The JMeter Javascript function calls a standalone JavaScript interpreter.
+Javascript is used as a scripting language, so you can do calculations etc.</p>
+<note>
+JMeter is not a browser, and does not interpret the JavaScript in downloaded pages.
+</note>
+</description>
 
 <properties>
         <property name="Expression" required="Yes">The JavaScript expression to be executed. For example:
@@ -338,8 +347,11 @@
                 computed by this function.</property>
 </properties>
 <note>Remember to include any necessary quotes for text strings and JMeter variables. Also, if
-the expression has commas, please make sure to escape them. For example: ${__javaScript('${sp}'.slice(7\,99999))}
- the comma after 7 is escaped.</note>
+the expression has commas, please make sure to escape them. For example in:
+<br></br>
+${__javaScript('${sp}'.slice(7\,99999))}
+<br></br>
+the comma after 7 is escaped.</note>
 </component>
 
 <component index="&sect-num;.5.8" name="__Random">



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org