Since Java8, Nashorn engine provides Javascript language. Benchmarks show the engine performs better than rhino (default used by JMeter): - http://ariya.ofilabs.com/2014/03/nashorn-the-new-rhino-on-the-block.html This enhancement will use as engine: - Rhino if JAVA < 8 - Nashorn if JAVA >= 8 To keep backward compatibility, this enhancement will introduce this new property: ifcontroller.use_rhino=false
Author: pmouawad Date: Sun Sep 13 20:12:47 2015 New Revision: 1702817 URL: http://svn.apache.org/r1702817 Log: Bug 58406 - IfController : Use Nashorn Engine if available for JavaScript evaluation Bugzilla Id: 58406 Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/core/org/apache/jmeter/control/IfController.java jmeter/trunk/xdocs/changes.xml
Property is renamed to: javascript.use_rhino It's default value will be true as of JMeter 2.14
Author: pmouawad Date: Sat Oct 3 20:27:45 2015 New Revision: 1706622 URL: http://svn.apache.org/viewvc?rev=1706622&view=rev Log: Bug 58406 - IfController : Allow use of Nashorn Engine if available for JavaScript evaluation Apply what has been discussed at: - http://mail-archives.apache.org/mod_mbox/jmeter-dev/201509.mbox/%3C55F9CB45.9040203%40internetallee.de%3E Rename property and make Rhino still the default. Add a note. Bugzilla Id: 58406 Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/core/org/apache/jmeter/control/IfController.java jmeter/trunk/xdocs/changes.xml
Author: pmouawad Date: Sat Oct 17 13:47:18 2015 New Revision: 1709167 URL: http://svn.apache.org/viewvc?rev=1709167&view=rev Log: Bug 58406 - IfController : Use Nashorn Engine if available for JavaScript evaluation Apply same rules as for JavaScript function Bugzilla Id: 58406 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/IfController.java Author: pmouawad Date: Sat Oct 17 13:47:57 2015 New Revision: 1709168 URL: http://svn.apache.org/viewvc?rev=1709168&view=rev Log: Bug 58406 - IfController : Use Nashorn Engine if available for JavaScript evaluation Make getInstance private Bugzilla Id: 58406 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/IfController.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3670