Changes
|
Version 5.1
Summary
JDBC testing has been improved with ability to set init SQL statements and add
compatibility with JDBC drivers that do not support QueryTimeout
- Various bug fixes have been implemented, like gathering the correct headers when recording requests through the HTTP(S) Test Script Recorder using HTTPS
- In version 5.0, JMeter was changed to rename Sub results using a custom Naming Policy (Bug 62550
). This change could be annoying for Functional Testing, a new property
subresults.disable_renaming=true has been introduced to revert if needed to previous behaviour. An alternative is to check Functional Test Mode in Test Plan, see Bug 63055
Templates can provide parameters that are filled in on test plan generation,
Recording template uses this feature
A new Tools menu has been introduced to collect those entries,
that are used for general usage around JMeter, like:
- Function Helper Dialog
- Export transactions for report
- Generate Schematic View which provides an overview as HTML of the Test plan
- Import from cURL which allows you to create or update your test plan by importing a cURL command
- Compile JSR223 Test Elements
- Create a heap dump
- Create a thread dump
Ability to create a Test plan from a cURL command.
Scripting / Debugging enhancements |
- A menu item to compile all JSR223 Elements is now available in Tools menu
Live Reporting and Web Report |
- A JSON file containing summary of a load test statistics is now generated when using -e or -g options.
- Percentiles computing graphed over time algorithm has been modified to restart for each time slot
- More user-friendly behaviour when reporting folder does not exist or is not empty through -f commmand line option
- In Response Time Percentiles Over Time (successful responses) graph of the HTML report, before this version, percentile computation of each time slot used the percentile data
of previous time slot as a base. Starting with this version, each time slot is independant. See Bug 62883
- ClientJMeterEngine#rsetProperties signature has been changed to use HashMap<String,String> instead of Properties, see Bug 63034
- A new Menu item Tools has been introduced, some menu items that were in Help menu are now under this new menu item. See Bug 63094
- slf4j-ext has been removed from libraries (lib folder) and JMeter pom. It was not used by default and due to CVE-2018-8088 and unavailability of a stable version
containing a fix to this issue, we decided to remove it. If you still needed, you can add it in lib folder.
HTTP Samplers and Test Script Recorder
- Bug 62840
- HTTP Request: Add option httpclient4.gzip_relax_mode to avoid error when unzipping what seems to be invalid streams
- Bug 63025
- Enhance Search & Replace functionality for HTTP Request to include port and protocol field. Initial code fix by Mohamed Ibrahim (rollno748 at gmail.com)
Other samplers
- Bug 62934
- Add compatibility for JDBC drivers that do not support QueryTimeout
- Bug 62935
- Pass custom mail.* properties to Mail Reader Sampler. Implemented by Artem Fedorov (artem.fedorov at blazemeter.com) and contributed by BlazeMeter.
- Bug 63055
- Don't rename SampleResult Label when test is running in Functional mode or property subresults.disable_renaming=true. Implemented by Artem Fedorov (artem.fedorov at blazemeter.com) and contributed by BlazeMeter.
ControllersListenersTimers, Assertions, Config, Pre- & Post-Processors
- Bug 62766
- Keystore Config: We should load all aliases by default. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62832
- JDBC Connection Configuration: Be able to set init SQL statements. Contributed by Ubik Load Pack (support at ubikloadpack.com)
Functions
- Bug 63037
- When using CSVRead search the script base path for files, too.
I18NReport / Dashboard
- Bug 62883
- Report / Dashboard: Change the way percentiles are computed for Response Time Percentiles Over Time (successful responses) graph
- Bug 63060
- Report Generator: A generator should only check for folder/files it generates and only delete those ones
- Bug 63059
- Create a new JsonExporter that exports as JSON the content of data computed for HTML Dashboard Statistics table. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 63081
- Command line Option -f does not delete report folder when using generation only through command line option -g. Contributed by Ubik Load Pack (support at ubikloadpack.com)
General
- Bug 62959
- Ability to create a Test plan from a cURL command. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Pull request #394 - Allow null values in FieldStringEditor. Based on patch by Mingun (alexander_sergey at mail.ru)
- Bug 62826
- When changing LAF, make JMeter restart if user clicks yes to popup
- Bug 62257
- Pull request #401 - Expand/Collapse short key - (minus sign) on numpad doesn't work. Contributed by Ori Marko (orimarko at gmail.com)
- Bug 62752
- Add to Documentation: ctx.getThreadNum() is zero-based while ${__threadNum} is one-based
- Pull request #411 - Use SHA-1 instead of SHA1 in org.apache.jmeter.save.SaveService. Contributed by Paco (paco.xu at daocloud.io)
- Bug 62914
- Add a hint in Thread Group UI about duration of test
- Bug 62925
- Add support for ThreadDump to the JMeter non-GUI
- Bug 62870
- Templates: Add ability to provide parameters. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62829
- Allow specifying Proxy server scheme for HTTP request sampler, Advanced tab and command line option. Contributed by Hitesh Patel (hitesh.h.patel at gmail.com)
- Bug 59633
- Menus Save Test Plan as, Save as Test Fragment and Save Selection as ... should use a new file name in File Dialog
- Bug 61486
- Make jmeter-server and non GUI mode run headless
- Bug 63093
- Add Compile JSR223 Test Elements menu item. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 63094
- Introduce a new Tools menu
- Bug 63101
- Propose a menu item to generate readable overview of Test Plan
- Bug 63144
- View listener tree take a long time to open response that has huge text. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Pull request #408 - Log an informational message instead of an stack trace, when JavaFX is not found for the RenderInBrowser component.
- Pull request #412 - Update Chinese translation. Contributed by 刘士 (liushilive at outlook.com).
- Pull request #406 - Add a short paragraph on how to use a security manager with JMeter.
- Bug 62893
- Use StringEscapeUtils from commons-text (version 1.6) instead of the deprecated ones from commons-lang3.
- Bug 62972
- Pull request #435 - Replace calls to deprecated method Class#newInstance.
- Bug 63034
- ClientJMeterEngine: Make rsetProperties use HashMap<String,String> instead of Properties
- Updated to httpclient/httpmime 4.5.7 (from 4.5.6)
- Updated to httpcore 4.4.11 (from 4.4.10)
- Updated to httpcore-nio 4.4.11 (from 4.4.10)
- Updated to tika-core and tika-parsers 1.20 (from 1.18)
- Updated to commons-dbcp2-2.5.0 (from commons-dbcp2-2.4.0)
- Updated to commons-lang3-3.8.1 (from commons-lang3-3.8)
- Updated to groovy-all-2.4.16 (from groovy-all-2.4.15)
- Updated to httpasyncclient-4.1.4.jar (from 4.1.3)
- Updated to jsoup-1.11.3 (from 1.11.2)
- Updated to cglib-nodep-3.2.9 (from cglib-nodep-3.2.7)
- Updated to ph-commons-9.2.1 (from ph-commons-9.1.2)
- Updated to log4j-2.11.1 (from log4j-2.11.0)
- Updated to xmlgraphics-commons 2.3 (from 2.2)
- Bug 63033
- Updated to Saxon-HE 9.9.1-1 (from 9.8.0-12). Thanks at Saxonica
- Updated to xstream 1.4.11 (from 1.4.10)
- Updated to jodd 5.0.6 (from 4.1.4)
- Updated to asm-7.0 (from 6.1)
- Update to ActiveMQ 5.15.8 (from 5.5.16)
- Updated to rsyntaxtextarea-3.0.2 (from 2.6.1)
- Updated to apache-rat-0.13 (from 0.12)
- Updated to jacocoant-0.8.3 (from 0.8.2)
- Updated to hsqldb-2.4.1 (from 2.4.0)
- Updated to mina-core-2.0.19 (from 2.0.16)
- Bug 62818
- Updated to xercesImpl to 2.12.0 (from 2.11.0). Reported by Stefan Seide (stefan at trilobyte-se.de)
- Bug 62744
- Upgrade jquery to version 3.3.1, jquery-ui to 1.12.1, bootstrap to 3.3.7
- Bug 62821
- Pull request #405 - Use SHA-512 checksums instead of MD5 to verify jar downloads
- Bug 63053
- Remove referrals to never implemented internals from user documentation. Reported by U. Poblotzki (u.poblotzki at thalia.de)
- Bug 63082
- Pull request #437 - Use utf-8 for properties files in source
- Bug 63177
- Rename NON GUI mode into CLI Mode in documentation
HTTP Samplers and Test Script Recorder
- Bug 62785
- Pull request #400 - Incomplete search path applied to the filenames used in the upload functionality of the HTTP sampler. Implemented by Artem Fedorov (artem.fedorov at blazemeter.com) and contributed by BlazeMeter.
- Bug 62842
- HTTP(S) Test Script Recorder: Brotli compression is not supported leading to "Content Encoding Error"
- Bug 60424
- Hessian Burlap application: JMeter inserts 0x0D before 0x0A automatically (http binary post data)
- Bug 62940
- Use different cn and type of SAN extension when we are generating certificates based on IP addresses.
- Bug 62916
- HTTP Test Script Recorder fails with UnsupportedOperationException if recording is started after a distributed test has been run
- Bug 62987
- A TestBean element under HTTP(S) Test Script recorder does not work. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 63015
- Abnormal NoHttpResponseException when running request through proxy HTTP(S) Test Script Recorder after a first failing request. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62852
- HTTP Request Header missing information when using a proxy. Thanks to Oleg Kalnichevski (olegk at apache.org)
- Bug 63048
- JMeter does not retrieve link resources of type "shortcut icon" or "icon". Contributed by Ubik Load Pack (support at ubikloadpack.com)
Other Samplers
- Bug 62775
- If many jars are in a folder referenced by user.classpath, startup can be extremely slow due to JUnit
- Bug 63031
- Incorrect JDBC driver class: org.firebirdsql.jdbc.FBDrivery. Contributed by Sonali (arora.sonali99 at gmail.com)
Controllers
- Bug 62806
- ModuleController cloning by Run behaves differently wether in GUI or Non GUI mode. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62847
- If Controller cannot use variable for index exposed by LoopController/WhileController/ForEachController
- Bug 63064
- Ignore spaces at the end and beginning of expressions used in IfController
Listeners
- Bug 62770
- Aggregate Graph throws ArrayIndexOutOfBoundsException
- Bug 63069
- ResultCollector does not write end of XML file if user exits while a Recording or a test is running. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 63138
- InfluxDB BackendListenerClient: In case of error, log is in debug, it should be in error
Timers, Assertions, Config, Pre- & Post-Processors
- Bug 62774
- XPath2Extractor: Scope variable is broken. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62860
- JSON Extractor: Avoid NPE and noisy error message "Error processing JSON content in" when variable is not found
FunctionsI18NReport / Dashboard
- Bug 62777
- Web Report / Dashboard: Hide All in Response Time Percentiles Over Time (successful responses) fails.
- Bug 62780
- Web Report / Dashboard: Display All in Response Time Vs Request fails.
- Bug 62781
- Web Report / Dashboard: Display All in Response Time Overview fails.
- Bug 62782
- Web Report / Dashboard: Remove duplicate/unused dependencies
- Bug 62894
- Report / Dashboard: Throughput is in wrong column which is confusing as unit is millisecond
- Bug 63016
- Empty HTML report if source csv contains labels with quotes. Contributed by Ubik Load Pack (support at ubikloadpack.com)
Documentation
- Change Test Action (old name) to Flow Control Action in Component Reference documentation. Contributed by Ori Marko (orimarko at gmail.com)
General
- Bug 62745
- Fix undefined disabled icon. Contributed by Till Neunast (https://github.com/tilln)
- Bug 62743
- Client auth must be enabled on distributed testing
- Bug 62767
- NPE when searching under certain conditions. Contributed by Ubik Load Pack (support at ubikloadpack.com)
- Bug 62790
- ArrayIndexOutOfBoundsException when calling replace without selecting the first match
- Bug 62795
- JMeter master sometimes ends distributed test even though some of the slaves have not finished
- Bug 62336
- Pull request #396 - Some shortcuts are not working correctly on windows. Contributed by Michael Pavlov (michael.paulau at gmail.com)
- Bug 62889
- Format JSON Arrays when displayed with JSON Path Tester.
- Bug 62900
- ObjectProperty#getStringValue() can throw NullPointerException
- Bug 63099
- Escape commata in function helper dialog only outside of variable replacement structures.
- Bug 63105
- Export Transactions for Report: fix 2 bugs
- Bug 63106
- Apply naming policy does not refresh UI
- Bug 63180
- Apply Naming Policy allows multi selection but only considers first node
- Bug 63090
- Remove slf4j-ext due to CVE-2018-8088
We thank all contributors mentioned in bug and improvement sections above:
- Oleg Kalnichevski (olegk at apache.org)
- Till Neunast (https://github.com/tilln)
- Mingun (alexander_sergey at mail.ru)
- Ubik Load Pack
- Artem Fedorov (artem.fedorov at blazemeter.com)
- Stefan Seide (stefan at trilobyte-se.de)
- 刘士 (liushilive at outlook.com)
- Michael Pavlov (michael.paulau at gmail.com)
- Ori Marko (orimarko at gmail.com)
- Paco (paco.xu at daocloud.io)
- Hitesh Patel (hitesh.h.patel at gmail.com)
- Sonali (arora.sonali99 at gmail.com)
- Mohamed Ibrahim (rollno748 at gmail.com)
- U. Poblotzki (u.poblotzki at thalia.de)
- Saxonica
We also thank bug reporters who helped us improve JMeter.
Apologies if we have omitted anyone else.
- The Once Only controller behaves correctly under a Thread Group or Loop Controller,
but otherwise its behaviour is not consistent (or clearly specified).
-
The numbers that appear to the left of the green box are the number of active threads / total number of threads,
the total number of threads only applies to a locally run test, otherwise it will show 0 (see Bug 55510
).
-
Note that under some windows systems you may have this WARNING:
 |
 |
 |
 |
java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(…) returned error code 5.
|
 |
 |
 |
 |
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.
-
You may encounter the following error:
 |
 |
 |
 |
java.security.cert.CertificateException: Certificates does not conform to algorithm constraints |
 |
 |
 |
 |
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
algorithm using MD2 (like md2WithRSAEncryption) or with a SSL certificate with a size lower than 1024 bits.
This error is related to increased security in Java 8+.
To allow you to perform your HTTPS request, you can downgrade the security of your Java installation by editing
the Java jdk.certpath.disabledAlgorithms property. Remove the MD2 value or the constraint on size, depending on your case.
This property is in this file:
 |
 |
 |
 |
JAVA_HOME/jre/lib/security/java.security |
 |
 |
 |
 |
See Bug 56357
for details.
-
Under Mac OSX Aggregate Graph will show wrong values due to mirroring effect on numbers.
This is due to a known Java bug, see Bug JDK-8065373
The fix is to use JDK8_u45 or later.
-
View Results Tree may fail to display some HTML code under HTML renderer, see Bug 54586
.
This is due to a known Java bug which fails to parse "px" units in row/col attributes.
See Bug JDK-8031109
The fix is to use JDK9 b65 or later.
-
JTable selection with keyboard (SHIFT + up/down) is totally unusable with Java 7 on Mac OSX.
This is due to a known Java bug JDK-8025126
The fix is to use JDK 8 b132 or later.
|
|
|