2016-10-30 19:19:00 +08:00
<?xml version="1.0"?>
2004-02-14 09:20:53 +08:00
<!--
2019-12-28 21:03:53 +08:00
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to you under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
2016-10-30 19:19:00 +08:00
2015-08-13 04:13:12 +08:00
< !DOCTYPE document
[
<!ENTITY hellip "…" >
2016-09-25 19:52:31 +08:00
<!ENTITY rarr "→" >
2016-04-02 18:20:21 +08:00
<!ENTITY vellip "⋮" >
2019-05-12 01:12:15 +08:00
<!ENTITY nbsp " " >
2015-08-13 04:13:12 +08:00
]>
2016-10-30 19:19:00 +08:00
<document >
<properties >
<author email= "dev AT jmeter.apache.org" > JMeter developers</author>
<title > Changes</title>
</properties>
<body >
<section name= "Changes" >
2013-01-24 18:11:23 +08:00
<style type= "text/css" > <!--
h2 { color: #960000; }
h3 { color: #960000; }
--></style>
2008-05-16 22:19:21 +08:00
<note >
<b > This page details the changes made in the current version only.</b>
<br > </br>
Earlier changes are detailed in the <a href= "changes_history.html" > History of Previous Changes</a> .
</note>
2008-05-29 07:08:45 +08:00
2011-10-01 06:44:46 +08:00
2021-01-27 00:44:35 +08:00
<!-- =================== 5.5 =================== -->
2008-05-29 07:08:45 +08:00
2021-01-27 00:44:35 +08:00
<h1 > Version 5.5</h1>
2016-11-08 23:41:31 +08:00
<p >
2013-10-13 02:26:09 +08:00
Summary
2016-11-08 23:41:31 +08:00
</p>
2013-10-13 02:26:09 +08:00
<ul >
<li > <a href= "#New and Noteworthy" > New and Noteworthy</a> </li>
<li > <a href= "#Incompatible changes" > Incompatible changes</a> </li>
<li > <a href= "#Bug fixes" > Bug fixes</a> </li>
<li > <a href= "#Improvements" > Improvements</a> </li>
<li > <a href= "#Non-functional changes" > Non-functional changes</a> </li>
2016-10-31 22:03:50 +08:00
<li > <a href= "#Known problems and workarounds" > Known problems and workarounds</a> </li>
2013-10-13 02:26:09 +08:00
<li > <a href= "#Thanks" > Thanks</a> </li>
</ul>
<ch_section > New and Noteworthy</ch_section>
2019-03-10 15:33:27 +08:00
<!--
2016-11-01 06:04:05 +08:00
<ch_title > Core improvements</ch_title>
2019-02-10 21:33:05 +08:00
<ch_title > Test Plan</ch_title>
2018-09-09 22:11:57 +08:00
<ch_title > Scripting / Debugging enhancements</ch_title>
<ch_title > Functions</ch_title>
2019-02-09 19:48:00 +08:00
-->
2020-08-20 05:01:03 +08:00
<ch_title > UX improvements</ch_title>
2011-10-03 20:25:39 +08:00
<!-- =================== Incompatible changes =================== -->
2013-10-13 02:26:09 +08:00
<ch_section > Incompatible changes</ch_section>
2019-01-20 06:00:15 +08:00
<ul >
</ul>
2015-02-28 05:05:55 +08:00
<!-- =================== Improvements =================== -->
2010-12-02 21:25:36 +08:00
2015-02-28 05:05:55 +08:00
<ch_section > Improvements</ch_section>
2009-05-10 23:47:21 +08:00
2013-11-23 21:08:28 +08:00
<h3 > HTTP Samplers and Test Script Recorder</h3>
2007-11-26 23:12:36 +08:00
<ul >
2020-12-30 19:34:08 +08:00
<li > <bug > 65027</bug> Detect mime-type for files automatically when adding files to HTTP Sampler</li>
2021-01-01 22:45:24 +08:00
<li > <bug > 65020</bug> HTTP Sampler/Files upload tab - add missing buttons</li>
2021-03-12 05:55:02 +08:00
<li > <pr > 650</pr> HTTP Sampler timestamp fix when exception is caught. Contributed by Konstantin Kalinin (konstantin at kkalinin.pro)</li>
2021-05-26 02:28:41 +08:00
<li > <bug > 65328</bug> <pr > 666</pr> HTTP 308 Permanent Redirect is not supported. Contributed by
Baptiste Gaillard (baptiste.gaillard at gmail.com)</li>
2009-05-10 23:47:21 +08:00
</ul>
2015-02-28 05:05:55 +08:00
<h3 > Other samplers</h3>
2009-05-10 23:47:21 +08:00
<ul >
2021-02-20 18:03:02 +08:00
<li > <bug > 65149</bug> <pr > 644</pr> Encode the personal part of email addresses in SMTP Sampler</li>
2021-01-30 01:09:05 +08:00
<li > <pr > 638</pr> Various additions to the Bolt Sampler. Added <code > transaction timeout</code> , <code > database</code>
option required for Neo4j 4.x (with multi-database support) and <code > access mode</code> option, that allows running
against a Neo4j Enterprise Causal Cluster. Contributed by David Pecollet (david.pecollet at gmail.com)</li>
2009-05-10 23:47:21 +08:00
</ul>
<h3 > Controllers</h3>
<ul >
2021-05-23 23:57:15 +08:00
<li > <pr > 665</pr> Increase visible lines of code in <code > IfController</code> and <code > WhileController</code> .
Based on an idea by David Getzlaff (david.getzlaff at t-systems.com>).</li>
2009-05-10 23:47:21 +08:00
</ul>
<h3 > Listeners</h3>
<ul >
2020-12-16 00:30:08 +08:00
<li > <bug > 64988</bug> Sort properties and variables in a human expected order for DebugPostProcessor and DebugSampler</li>
2021-01-03 05:36:42 +08:00
<li > <bug > 63061</bug> Sort View Results in Table in a human expected order</li>
2009-05-10 23:47:21 +08:00
</ul>
2012-08-23 07:54:57 +08:00
<h3 > Timers, Assertions, Config, Pre- & Post-Processors</h3>
2021-01-30 01:03:00 +08:00
<ul >
2021-01-30 01:09:05 +08:00
<li > <pr > 638</pr> Bolt Connection Configuration: added <code > ConnectionPoolMaxSize</code> parameter. Contributed by
David Pecollet (david.pecollet at gmail.com)</li>
2021-08-21 19:56:40 +08:00
<li > <bug > 65515</bug> Allow pooling of Prepared Statements in JDBC</li>
2009-05-10 23:47:21 +08:00
</ul>
<h3 > Functions</h3>
<ul >
</ul>
2018-09-19 14:34:02 +08:00
2009-05-10 23:47:21 +08:00
<h3 > I18N</h3>
<ul >
</ul>
2016-09-12 02:33:18 +08:00
<h3 > Report / Dashboard</h3>
2009-05-10 23:47:21 +08:00
<ul >
2021-06-04 01:32:17 +08:00
<li > <bug > 65353</bug> Make the estimator used for calculating percentiles on the dashboard configurable</li>
2016-09-12 02:33:18 +08:00
</ul>
2016-11-25 03:33:08 +08:00
2016-09-12 02:33:18 +08:00
<h3 > General</h3>
<ul >
2021-04-19 15:03:29 +08:00
<li > <bug > 61805</bug> <pr > 663</pr> Add simple HTTP request template. Contributed by Ori Marko (orimarko at gmail.com)</li>
2007-11-26 23:12:36 +08:00
</ul>
2016-05-30 03:00:17 +08:00
2015-02-28 05:05:55 +08:00
<ch_section > Non-functional changes</ch_section>
<ul >
2021-02-12 06:00:58 +08:00
<li > <bug > 65128</bug> <pr > 643</pr> Add missing documentation about <code > Same user on each iteration</code> for Thread Groups. Contributed by njkuzas.</li>
2021-03-06 17:46:39 +08:00
<li > <pr > 648</pr> Updated xmlgraphics-commons to 2.6 (from 2.3). Contributed by Stefan Seide (stefan @ trilobyte.se.de)</li>
2021-06-07 19:17:26 +08:00
<li > <pr > 655</pr> <pr > 667</pr> Updated x-stream to 1.4.17 (from 1.4.15). Contributed by Stefan Seide (stefan @ trilobyte.se.de)</li>
2021-06-07 17:05:10 +08:00
<li > <pr > 656</pr> <pr > 668</pr> Updated json-smart to 2.4.7 (from 2.3), accessors-smart to 2.4.7 (from 1.2) and asm 9.1 (from 9.0). Contributed by Stefan Seide (stefan @ trilobyte.se.de)</li>
2021-01-02 21:07:00 +08:00
<li > <bug > 64831</bug> Log truststore entries in debug level for logger <code > org.apache.jmeter.util.keystore.JmeterKeyStore</code> </li>
2021-04-11 01:59:54 +08:00
<li > <bug > 65232</bug> Hide splash screen when an error is displayed because the test plan could not be parsed.</li>
2021-05-22 19:38:26 +08:00
<li > Updated Groovy to 3.0.8 (from 3.0.7).</li>
2021-08-13 19:39:58 +08:00
<li > Updated Darklaf to 2.7.2 (from 2.5.4).</li>
2021-08-13 19:42:37 +08:00
<li > Updated Apache ActiveMQ to 15.6.2 (from 15.6.0).</li>
2021-08-13 19:44:25 +08:00
<li > Updated Asm to 9.2 (from 9.1).</li>
2021-08-13 19:46:37 +08:00
<li > Updated Bouncycastle to 1.69 (from 1.67).</li>
2021-08-13 19:49:49 +08:00
<li > Updated Caffeine to 2.9.2 (from 2.8.8).</li>
2021-08-13 19:52:54 +08:00
<li > Updated Apache commons-dbcp2 to 2.9.0 (from 2.8.0).</li>
2021-08-13 19:54:53 +08:00
<li > Updated Apache commons-io to 2.11.0 (from 2.8.0).</li>
2021-08-13 19:56:52 +08:00
<li > Updated Apache commons-lang3 to 3.12.0 (from 3.11).</li>
2021-08-13 19:59:06 +08:00
<li > Updated Apache commons-net to 3.8.0 (from 3.7.2).</li>
2021-08-13 20:11:56 +08:00
<li > Updated Apache commons-pool2 to 2.11.0 (from 2.9.0).</li>
2021-08-13 20:17:12 +08:00
<li > Updated equalsverifier to 3.7 (from 3.4.2).</li>
2021-08-13 20:19:04 +08:00
<li > Updated Apache Freemarker to 2.3.31 (from 2.3.30).</li>
2021-08-13 20:22:00 +08:00
<li > Updated hsqldb to 2.5.2 (from 2.5.0).</li>
2021-08-13 20:24:01 +08:00
<li > Updated hsqldb to 2.6.0 (from 2.5.0).</li>
<li > Updated Apache HttpClient to 4.5.13 (from 4.5.12).</li>
2021-08-13 20:25:57 +08:00
<li > Updated Apache HttpCore to 4.4.14 (from 4.4.13).</li>
2021-08-13 20:38:53 +08:00
<li > Updated json-path to 2.6.0 (from 2.4.0).</li>
2021-08-13 20:43:24 +08:00
<li > Updated jsoup to 1.14.1 (from 1.13.1).</li>
2021-08-13 20:47:47 +08:00
<li > Updated JUnit to 4.13.2 and 5.7.2 (from 4.13.1 and 5.7.0).</li>
2021-08-13 20:49:49 +08:00
<li > Updated Apache log4j2 to 2.14.1 (from 2.13.3).</li>
2021-08-13 20:54:48 +08:00
<li > Updated Miglayout to 5.3 (from 5.2).</li>
2021-08-13 20:57:27 +08:00
<li > Updated Neo4j Java driver to 4.3.3 (from 4.2.0).</li>
2015-02-28 05:05:55 +08:00
</ul>
2016-10-30 19:19:00 +08:00
2015-02-28 05:05:55 +08:00
<!-- =================== Bug fixes =================== -->
2007-11-26 23:12:36 +08:00
2015-02-28 05:05:55 +08:00
<ch_section > Bug fixes</ch_section>
2009-05-10 23:47:21 +08:00
2014-01-10 03:38:12 +08:00
<h3 > HTTP Samplers and Test Script Recorder</h3>
2007-11-26 23:12:36 +08:00
<ul >
2021-05-30 19:58:33 +08:00
<li > <bug > 65310</bug> Don't let users override <code > multipart/form-data</code> <code > content-type</code>
header in HC4 sampler.</li>
2021-06-08 03:20:59 +08:00
<li > <bug > 65363</bug> <code > NullPointerException</code> in <code > HTTPHC4Impl$ManagedCredentialsProvider.getAuthorizationForAuthScope</code> when <code > 401</code> response from remote and <code > httpclient4.auth.preemptive=false</code> </li>
2016-12-30 07:36:59 +08:00
</ul>
2009-05-10 23:47:21 +08:00
2015-02-28 05:05:55 +08:00
<h3 > Other Samplers</h3>
2009-05-10 23:47:21 +08:00
<ul >
2021-02-22 01:56:33 +08:00
<li > <bug > 65152</bug> OS Process Sampler - Cannot <code > Add from Clipboard</code> Command parameters</li>
2021-01-30 01:09:05 +08:00
<li > <pr > 638</pr> Bolt Sampler: fixed error displaying results when "Record Query Results" is enabled. Contributed by
David Pecollet (david.pecollet at gmail.com)</li>
2009-05-10 23:47:21 +08:00
</ul>
<h3 > Controllers</h3>
<ul >
</ul>
<h3 > Listeners</h3>
<ul >
2020-12-11 00:02:13 +08:00
<li > <bug > 64962</bug> Save CSV sub-results recursively from View Results Tree</li>
2009-05-10 23:47:21 +08:00
</ul>
2009-11-03 23:55:56 +08:00
<h3 > Timers, Assertions, Config, Pre- & Post-Processors</h3>
2009-05-10 23:47:21 +08:00
<ul >
2021-04-24 17:31:25 +08:00
<li > <bug > 65257</bug> JMESPathExtractor writes error log entries if JMESPath filter returns empty result</li>
2021-04-24 17:45:56 +08:00
<li > <bug > 65259</bug> JMESPathExtractor Attribute <code > Match No.</code> Required</li>
2021-05-31 02:39:18 +08:00
<li > <bug > 65269</bug> JSON Extractor and JSON JMESPath Extractor ignore sub-samples</li>
2021-06-04 00:04:18 +08:00
<li > <bug > 65352</bug> Warning logged when Boundary Extractor doesn't find any match</li>
2009-05-10 23:47:21 +08:00
</ul>
2015-04-17 03:27:18 +08:00
2009-05-10 23:47:21 +08:00
<h3 > Functions</h3>
<ul >
</ul>
<h3 > I18N</h3>
<ul >
</ul>
2015-04-17 03:27:18 +08:00
2017-02-11 23:19:46 +08:00
<h3 > Report / Dashboard</h3>
<ul >
</ul>
2017-04-29 20:18:36 +08:00
2018-03-22 16:04:42 +08:00
<h3 > Documentation</h3>
<ul >
</ul>
2009-05-10 23:47:21 +08:00
<h3 > General</h3>
2015-04-17 04:22:31 +08:00
<ul >
2021-01-03 04:26:44 +08:00
<li > <bug > 64318</bug> DNS Cache Manager - custom DNS resolver does not use system resolver by default</li>
2021-02-12 03:53:36 +08:00
<li > <pr > 641</pr> Updated xercesImpl to 2.12.1 (from 2.12.0). Based on patch by Stefan Seide (stefan at trilobyte-se.de).</li>
2021-02-25 18:25:15 +08:00
<li > <pr > 645</pr> Add escaping for new lines in AbstractInfluxdbMetricsSender. Contributed by David Getzlaff (david.getzlaff at t-systems.com>)</li>
2021-03-20 20:21:57 +08:00
<li > <bug > 65198</bug> Can't copy generated function from FunctionHelper</li>
2021-04-02 17:24:40 +08:00
<li > Updated Apache Tika to 1.26 (from 1.24.1)</li>
2021-04-12 18:02:08 +08:00
<li > <pr > 658</pr> Improve javadoc. Contributed by Ori Marko (orimarko at gmail.com)</li>
2021-04-14 11:18:29 +08:00
<li > <pr > 661</pr> Fix wording in doc. Contributed by BugKing (wangzhen at fit2cloud.com)</li>
2021-04-22 11:44:27 +08:00
<li > <pr > 664</pr> Allow whitespace in path. Contributed by Till Neunast (github.com/tilln)</li>
2021-04-28 02:57:27 +08:00
<li > <bug > 65270</bug> POST application/x-www-form-urlencoded cURL code generated from Postman is not imported correctly</li>
2021-05-04 23:22:22 +08:00
<li > Silence warnings of missing font Arial on startup under linux</li>
2021-05-19 03:03:05 +08:00
<li > <bug > 65300</bug> IllegalAccessError when opening file dialog with Java 16</li>
2013-08-12 05:17:32 +08:00
</ul>
2015-02-28 05:05:55 +08:00
<!-- =================== Thanks =================== -->
2013-10-13 02:26:09 +08:00
<ch_section > Thanks</ch_section>
2013-12-31 20:38:28 +08:00
<p > We thank all contributors mentioned in bug and improvement sections above:
2016-04-22 04:36:03 +08:00
</p>
2013-12-31 20:38:28 +08:00
<ul >
2021-02-12 03:53:36 +08:00
<li > Stefan Seide (stefan at trilobyte-se.de)</li>
2021-02-12 06:00:58 +08:00
<li > njzukas (github.com/njzukas)</li>
2021-02-25 18:25:15 +08:00
<li > David Getzlaff (david.getzlaff at t-systems.com>)</li>
2021-03-12 05:55:02 +08:00
<li > Konstantin Kalinin (konstantin at kkalinin.pro)</li>
2021-01-30 01:09:05 +08:00
<li > David Pecollet (david.pecollet at gmail.com)</li>
2021-04-12 18:02:08 +08:00
<li > Ori Marko (orimarko at gmail.com)</li>
2021-04-14 11:18:29 +08:00
<li > BugKing (wangzhen at fit2cloud.com)</li>
2021-04-22 11:44:27 +08:00
<li > Till Neunast (github.com/tilln)</li>
2021-05-26 02:28:41 +08:00
<li > Baptiste Gaillard (baptiste.gaillard at gmail.com)</li>
2007-11-26 23:12:36 +08:00
</ul>
2018-02-11 23:45:29 +08:00
<p > We also thank bug reporters who helped us improve JMeter.</p>
2018-10-02 16:32:07 +08:00
<ul >
2021-01-27 01:43:44 +08:00
<li > Nikola Aleksic (nalexic at gmail.com)</li>
2018-10-02 16:32:07 +08:00
</ul>
2016-04-22 04:36:03 +08:00
<p >
2013-10-05 17:06:48 +08:00
Apologies if we have omitted anyone else.
2018-02-11 23:45:29 +08:00
</p>
2016-01-14 22:12:14 +08:00
<!-- =================== Known bugs or issues related to JAVA Bugs =================== -->
2016-10-30 19:19:00 +08:00
2016-01-05 04:52:13 +08:00
<ch_section > Known problems and workarounds</ch_section>
2017-03-04 05:25:19 +08:00
<ul >
2015-02-28 05:05:55 +08:00
<li > The Once Only controller behaves correctly under a Thread Group or Loop Controller,
but otherwise its behaviour is not consistent (or clearly specified).</li>
<li >
2016-10-30 19:19:00 +08:00
The numbers that appear to the left of the green box are the number of active threads / total number of threads,
2016-04-02 18:20:21 +08:00
the total number of threads only applies to a locally run test, otherwise it will show <code > 0</code> (see <bugzilla > 55510</bugzilla> ).
2015-02-28 05:05:55 +08:00
</li>
<li >
Note that under some windows systems you may have this WARNING:
2016-04-02 18:20:21 +08:00
<source >
2016-10-30 19:19:00 +08:00
java.util.prefs.WindowsPreferences
2015-02-28 05:05:55 +08:00
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
2015-08-13 04:13:12 +08:00
x80000002. Windows RegCreateKeyEx(… ) returned error code 5.
2016-04-02 18:20:21 +08:00
</source>
2015-02-28 05:05:55 +08:00
The fix is to run JMeter as Administrator, it will create the registry key for you, then you can restart JMeter as a normal user and you won't have the warning anymore.
</li>
<li >
2016-04-02 18:20:21 +08:00
You may encounter the following error:
<source > java.security.cert.CertificateException: Certificates does not conform to algorithm constraints</source>
2015-02-28 05:05:55 +08:00
if you run a HTTPS request on a web site with a SSL certificate (itself or one of SSL certificates in its chain of trust) with a signature
2017-09-17 17:32:02 +08:00
algorithm using MD2 (like <code > md2WithRSAEncryption</code> ) or with a SSL certificate with a size lower than 1024 bits.
2017-04-01 21:49:40 +08:00
This error is related to increased security in Java 8+.
2015-02-28 05:05:55 +08:00
<br > </br>
2016-10-30 19:19:00 +08:00
To allow you to perform your HTTPS request, you can downgrade the security of your Java installation by editing
2016-04-02 18:20:21 +08:00
the Java <code > jdk.certpath.disabledAlgorithms</code> property. Remove the MD2 value or the constraint on size, depending on your case.
2015-02-28 05:05:55 +08:00
<br > </br>
This property is in this file:
2016-04-02 18:20:21 +08:00
<source > JAVA_HOME/jre/lib/security/java.security</source>
2015-02-28 05:05:55 +08:00
See <bugzilla > 56357</bugzilla> for details.
</li>
2015-06-14 04:52:34 +08:00
<li >
Under Mac OSX Aggregate Graph will show wrong values due to mirroring effect on numbers.
2016-10-30 19:19:00 +08:00
This is due to a known Java bug, see Bug <a href= "https://bugs.openjdk.java.net/browse/JDK-8065373" > JDK-8065373</a>
2017-01-15 20:50:54 +08:00
The fix is to use JDK8_u45 or later.
2015-06-14 04:52:34 +08:00
</li>
2015-06-14 04:54:32 +08:00
<li >
View Results Tree may fail to display some HTML code under HTML renderer, see <bugzilla > 54586</bugzilla> .
2016-04-02 18:20:21 +08:00
This is due to a known Java bug which fails to parse "<code > px</code> " units in row/col attributes.
2016-10-30 19:19:00 +08:00
See Bug <a href= "https://bugs.openjdk.java.net/browse/JDK-8031109" > JDK-8031109</a>
2017-09-17 23:15:34 +08:00
The fix is to use JDK9 b65 or later.
2015-06-14 04:54:32 +08:00
</li>
2016-01-16 04:56:43 +08:00
<li >
2017-09-17 17:32:02 +08:00
JTable selection with keyboard (<keycombo > <keysym > SHIFT</keysym> <keysym > up/down</keysym> </keycombo> ) is totally unusable with Java 7 on Mac OSX.
2016-10-30 19:19:00 +08:00
This is due to a known Java bug <a href= "https://bugs.openjdk.java.net/browse/JDK-8025126" > JDK-8025126</a>
2016-01-16 04:56:43 +08:00
The fix is to use JDK 8 b132 or later.
</li>
2019-10-09 21:26:09 +08:00
<li >
Since Java 11 the JavaScript implementation <a href= "https://openjdk.java.net/jeps/335" > Nashorn has been deprecated</a> .
Java will emit the following deprecation warnings, if you are using JavaScript based on Nashorn.
<source >
Warning: Nashorn engine is planned to be removed from a future JDK release
</source>
To silence these warnings, add <code > -Dnashorn.args=--no-deprecation-warning</code> to your Java arguments.
That can be achieved by setting the enviroment variable <code > JVM_ARGS</code>
<source >
export JVM_ARGS="-Dnashorn.args=--no-deprecation-warning"
</source>
</li>
2020-11-17 18:09:00 +08:00
<li >
2020-11-28 20:01:35 +08:00
With Java 15 the JavaScript implementation <a href= "https://openjdk.java.net/jeps/372" > Nashorn has been removed</a> . To add back a JSR-223 compatible JavaScript engine you have two options:
<dl >
<dt > Use Mozilla Rhino</dt>
<dd > Copy <a href= "https://github.com/mozilla/rhino/releases/download/Rhino1_7_13_Release/rhino-engine-1.7.13.jar" > rhino-engine-1.7.13.jar</a> into <code > $JMETER_HOME/lib/ext</code> .</dd>
<dt > Use OpenJDK Nashorn</dt>
<dd >
The OpenJDK Nashorn implementation comes as a module. To use it, you will have to download it and add it to the module path. A hacky way to download the version 15.0 and its dependencies and set the module path is outlined below:
<source >
mkdir lib/modules
pushd lib/modules
wget https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/15.0/nashorn-core-15.0.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-util/9.0/asm-util-9.0.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/9.0/asm-analysis-9.0.jar
popd
export JVM_ARGS="--modulepath $PWD/lib/modules"
./bin/jmeter
</source>
</dd>
</dl>
2020-11-17 18:09:00 +08:00
</li>
2015-02-28 05:05:55 +08:00
</ul>
2016-10-30 19:18:07 +08:00
</section>
</body>
2013-01-29 07:43:33 +08:00
</document>