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
[
2022-07-07 22:41:08 +08:00
<!ENTITY hellip "…">
<!ENTITY le "≤">
<!ENTITY nbsp " ">
<!ENTITY ndash "–">
<!ENTITY oacute "ó">
<!ENTITY rarr "→">
<!ENTITY rArr "⇒">
<!ENTITY THORN "Þ">
<!ENTITY vellip "⋮">
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
2023-07-04 17:45:03 +08:00
<br > </br>
<note >
2024-01-05 02:58:22 +08:00
JMeter 6.x requires Java 17 or later for execution (Java 21 is recommended).
2023-07-04 17:45:03 +08:00
</note>
2011-10-01 06:44:46 +08:00
2024-01-05 02:58:22 +08:00
<!-- =================== 6.0.0 =================== -->
2008-05-29 07:08:45 +08:00
2024-01-05 02:58:22 +08:00
<h1 > Version 6.0.0 </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 >
2024-09-25 18:28:54 +08:00
<li > <a href= "#Changes" > Changes</a> </li>
2023-07-03 15:12:17 +08:00
</ul>
2024-01-05 02:58:22 +08:00
<ch_section > Changes</ch_section>
2023-12-14 01:07:44 +08:00
<h3 > General</h3>
<ul >
2024-01-05 02:58:22 +08:00
<li > <pr > 6220</pr> Require Java 17 or later for running JMeter</li>
2024-09-28 00:29:14 +08:00
<li > <pr > 6274</pr> Change references to old MySQL driver to new class <code > com.mysql.cj.jdbc.Driver</code> </li>
2024-09-25 18:28:54 +08:00
<li > <issue > 6352</issue> Calculate delays in Open Model Thread Group and Precise Throughput
Timer relative to start of Thread Group instead of the start of the test.</li>
2024-10-05 00:34:10 +08:00
<li > <issue > 6357</issue> <pr > 6358</pr> Ensure writable directories when copying template files while report generation.</li>
2023-12-14 01:07:44 +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 >
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 >
</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>
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>
2022-04-18 23:36:27 +08:00
<dd > Copy <a href= "https://github.com/mozilla/rhino/releases/download/Rhino1_7_14_Release/rhino-engine-1.7.14.jar" > rhino-engine-1.7.14.jar</a> into <code > $JMETER_HOME/lib/ext</code> .</dd>
2020-11-28 20:01:35 +08:00
<dt > Use OpenJDK Nashorn</dt>
<dd >
2021-11-19 00:58:20 +08:00
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 (or later) and its dependencies and set the module path is outlined below:
2020-11-28 20:01:35 +08:00
<source >
mkdir lib/modules
pushd lib/modules
2023-12-14 01:07:44 +08:00
wget https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/15.4/nashorn-core-15.4.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm/9.6/asm-9.6.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.6/asm-commons-9.6.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-util/9.6/asm-util-9.6.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.6/asm-tree-9.6.jar
wget https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/9.6/asm-analysis-9.6.jar
2020-11-28 20:01:35 +08:00
popd
2021-11-19 00:58:20 +08:00
export JVM_ARGS="--module-path $PWD/lib/modules"
2020-11-28 20:01:35 +08:00
./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>