Apache JMeter


Changes

This page details the changes made in the current version only.
Earlier changes are detailed in the History of Previous Changes.

Version 5.1.1

Summary



New and Noteworthy

This release is mainly a bugfix release. Please see the Changes history page to view the last major behaviors with the version 5.1.


Live Reporting and Web Report

A new menu entry has been added to the Tools menu. It's allow to generate a results report from a previous CSV/JTL file.






Incompatible changes



Improvements

HTTP Samplers and Test Script Recorder

  • Bug 62977 - Allow sending HTTP requests without a default User-Agent header

Other samplers

  • Bug 63185 - LDAP related elements: Add option to implicitly trust SSL/TLS connections/Disable hostname verification. Based on contribution by Brian Wolfe (wolfebrian2120 at gmail.com)

Controllers

Listeners

Timers, Assertions, Config, Pre- & Post-Processors

  • Bug 63178 - CSS Selector Extractor: Improve performance of JODD (JoddExtractor) based implementation

Functions

I18N

Report / Dashboard

  • Bug 59896 - Report / Dashboard: Add a menu entry to generate a report on demand from a CSV file. Contributed by Ubik Load Pack (support at ubikloadpack.com)

General

  • Pull request #444 - Update to latest Spock v1.2 (was 1.0). Contributed by Graham Russell (graham at ham1.co.uk)
  • Pull request #446 - Improve Unit tests readability and use of Spock. Contributed by Graham Russell (graham at ham1.co.uk)


Non-functional changes

  • Bug 63203 - Unit Tests: Replace use of @Deprecated by @VisibleForTesting for methods/constructors/classes made public for Unit Testing only
  • Pull request #449 - Refactor and Test ResponseTimePercentilesOverTimeGraphConsumer. Contributed by Graham Russell (graham at ham1.co.uk)
  • Pull request #450 - Abstract graph consumer improvements. Contributed by Graham Russell (graham at ham1.co.uk)
  • Pull request #451 - Improve a few unit tests and classes. Contributed by Graham Russell (graham at ham1.co.uk)


Bug fixes

HTTP Samplers and Test Script Recorder

Other Samplers

  • Bug 63202 - JMS Publisher: ObjectMessageRenderer creates XStream instance with uninitialized security

Controllers

Listeners

  • Bug 63204 - RenderAsJSON#prettyJSON: JSONParser#parse cannot return JSONValue

Timers, Assertions, Config, Pre- & Post-Processors

  • Bug 62446 - Counter documentation is wrong in required fieds. Contributed by orimarko at gmail.com
  • Bug 62327 - TestPlan: In library table if path is modified and plan saved, the modification is lost on file reload

Functions

  • Bug 63241 - __threadGroupName causes a NullPointerException if called from non Test threads

I18N

Report / Dashboard

  • Bug 63198 - Response Time Vs Request and Latency Vs Request graphs don't line up with throughput. Contributed by Ubik Load Pack (support at ubikloadpack.com)

Documentation

General

  • Bug 63201 - SearchTreeDialog disappears behind master JFrame. Contributed by Benoit Vatan (benoit.vatan at gmail.com)
  • Bug - Function Helper Dialog, Export transactions for report and Import from cURL disappear being master JFrame. Contributed by Ubik Load Pack (support at ubikloadpack.com)
  • Bug 63207 - java.lang.NullPointerException: null when run Jmeter 5.1 with proxy options
  • Bug 58183 - Rampup may not be respected if thread take time to start leading to threads continuing to start post ramp up time


Thanks

We thank all contributors mentioned in bug and improvement sections above:

  • Ubik Load Pack
  • Benoit Vatan (benoit.vatan at gmail.com)
  • Graham Russell (graham at ham1.co.uk)
  • Brian Wolfe (wolfebrian2120 at gmail.com)
  • orimarko at gmail.com

We also thank bug reporters who helped us improve JMeter.

Apologies if we have omitted anyone else.



Known problems and workarounds

  • 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.




Copyright © 1999-2019, Apache Software Foundation
Apache, Apache JMeter, JMeter, the Apache feather, and the Apache JMeter logo are trademarks of the Apache Software Foundation.