What’s New in JMeter 5?

By | 2018-11-30T13:45:18+00:00 November 30th, 2018|Tags: , , |

A new Apache JMeter™ version 5.0 was released on September 2018 week! After the last version published in February, this version has new changes. It improved the user experience and provided many bug fixes.

Most important updates include HTTP request changes, improvements for the search and the results tree.

Here are the most important things provided with JMeter 5.0 version:

HTTP Request Changes

  • In previous versions, the HTTP reset only worked in SSL state. But this wasn’t a correct behavior since SSL connections use certificates that the connection made. With JMeter 5.0, if you use default HC4 Implementation, JMeter will reset the SSL State and Connections for any thread. That would cause higher response times as TCP connections will always be re-established. In case you don’t want to reset the connection just set httpclient.reset_state_on_thread_group_iteration properties to false.
  • In the older version, JMeter ignored parameters entered in Parameters Tab when you want to use them in the body.
  • You can now send files as multipart/form-data requests for PUT and DELETE. The previous version only supported POST operation.
  • In the older versions, there was no way to change the content-type of a multi-form-data request. Now you can set to anything you want like application/json. The default value is ‘text/plain’.
  • All HTTP Components are updated to 4.6 which is the last one. JMeter does not rely anymore on deprecated APIs of this library.

UI Improvements

  • JMeter’s most popular listener is View Results Tree.  It is now possible to look at headers without the HTML page code in response, in a separate tab. It makes life easier when you want to debug your tests.

jmeter

  • Improvements have also been made to the search functionality, with the addition of these new navigation and replacement buttons: Next/Previous, Replace/Replace All/, and Replace & Find:

XPATH 2.0 Support

  • XPath 2.0 is supported in a new element called XPath2 extractor providing easier XML namespaces handling for better performance.

In addition, bugs were fixed, functions were added and more elements were improved. Read the full list of changes, here.

Loadium will support JMeter 5 in near future.

Stay tuned!