[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-dev
Subject:    svn commit: r670540 - /jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
From:       sebb () apache ! org
Date:       2008-06-23 12:31:38
Message-ID: 20080623123138.562E7238895D () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic