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 2008/06/23 14:31:38 UTC

svn commit: r670540 - /jakarta/jmeter/trunk/xdocs/usermanual/functions.xml

Author: sebb
Date: Mon Jun 23 05:31:37 2008
New Revision: 670540

URL: http://svn.apache.org/viewvc?rev=670540&view=rev
Log:
Document how to call arbitrary classes in Jexl

Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/functions.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/functions.xml?rev=670540&r1=670539&r2=670540&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/functions.xml Mon Jun 23 05:31:37 2008
@@ -878,6 +878,15 @@
 <li>sampleResult - previous SampleResult object (if any)</li>
 <li>OUT - System.out - e.g. OUT.println("message")</li>
 </ul>
+    <p>
+    Jexl can also create classes and call methods on them, for example:
+    </p>
+    <p>
+    <code>
+    Systemclass=log.class.forName("java.lang.System");<br></br>
+    now=Systemclass.currentTimeMillis();
+    </code>
+    </p>
 </component>
 
 <component index="&sect-num;.5.19" name="__V">



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