Latest Release JMeter 5.1

JMeter 5.1 has been released! Since the last release(5.0) in September 2018, the 5.1 version has new core enhancements, improved user experience, and bug fixes.

Core improvements

  • With JMeter version 5.1, users can now specify init SQL statements. These can include any options that provide you with a database. For example, configurations for current sessions like disable caching, and duration of current session. 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.
  • SubResult Naming Policy: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
  • Ability to create a Test Plan from a cURL command:Previously, users needed to click all HTTP request options within the JMeter interface in order to create a test plan. Now, you can use a simple syntax to add new HTTP requests to a test plan from a cURL command. The cURL, short for “Client for URLs”, is a command line tool for creating and executing HTTP requests from the command line. If a user already has cURL scripts, than they can also copy the cURL commands to a special popup in JMeter and generate a Test Plan.

To create an import from a cURL open the ‘Tools’ menu and click ‘Import from cURL’.

You will then see a cURL window where you can write in your curl request. To learn more about writing your own curl request, click here. For example, if you want to show the same action that the browser would do when you click on the “Find Flights” button at blazedemo.com, you can add a POST request to ‘http://blazedemo.com/reserve.php’ with the following body: ‘fromPort=Paris&toPort=Buenos+Aires’.


Then click ‘Create HTTP Request’ button and a new HTTP Sample will be added to the Test Plan.

UX improvements

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

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

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:

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.

For full details about the changes ,improvements and bug fixes .Please refer to this link