✨ Release Alert: Apache JMeter 5.4
Tags: performance, testing, webperf, news
Published: 2020-12-07 23:56:19

<!-- wp:paragraph -->
<p>Yesterday Apache has released its next iteration of JMeter version which is 5.4. You can check my last article about <a href="https://qainsights.com/whats-new-in-apache-jmeter-5-3/" target="_blank" rel="noreferrer noopener">JMeter 5.3 and its features</a>. This blog post deals with Apache JMeter 5.4 features, bug fixes, and enhancements.</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"db3b1619"} -->
<h2 class="gb-headline gb-headline-db3b1619 gb-headline-text">How to download Apache JMeter 5.4?</h2>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>Go to <a href="https://jmeter.apache.org/download_jmeter.cgi" target="_blank" rel="noreferrer noopener">https://jmeter.apache.org</a> and click on the relevant package file as shown below.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":7869,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image.png" alt="JMeter 5.4" class="wp-image-7869"/><figcaption>JMeter 5.4</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>After downloading, check its integrity using SHA512.</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"27f0ab3a"} -->
<h2 class="gb-headline gb-headline-27f0ab3a gb-headline-text">Apache JMeter  5.4 Features</h2>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>Mostly bug fixes in this release, not a handful of new features. So, do not expect too much :).</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"5920a5dd","element":"h3"} -->
<h3 class="gb-headline gb-headline-5920a5dd gb-headline-text">Finally, GraphQL</h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>If you are working in GraphQL performance testing, you can now leverage GraphQL HTTP Request Sampler as shown below.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":7870,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-1-1024x438.png" alt="GraphQL in JMeter 5.4" class="wp-image-7870"/><figcaption>GraphQL in JMeter 5.4</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:generateblocks/headline {"uniqueId":"0d090325","element":"h3"} -->
<h3 class="gb-headline gb-headline-0d090325 gb-headline-text">Embedded Resources </h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>If you need to retrieve the embedded resources using the URLs filter, you can leverage URLs filter as shown below in <strong>HTTP Sampler and Request Defaults</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":7871,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-2.png" alt="HTTP Request in JMeter 5.4" class="wp-image-7871"/><figcaption>HTTP Request in JMeter 5.4</figcaption></figure>
<!-- /wp:image -->

<!-- wp:generateblocks/headline {"uniqueId":"b47c753d","element":"h3"} -->
<h3 class="gb-headline gb-headline-b47c753d gb-headline-text">HTTP(S) Test Script Recorder</h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>HTTP(S) Test Script Recorder underwent major changes with improvements as shown below. You can use the format string and suffix while recording. Also, you can toggle the GraphQL detection while recording.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":7872,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-3-1024x506.png" alt="Test Script Recorder in JMeter 5.4" class="wp-image-7872"/><figcaption>Test Script Recorder in JMeter 5.4</figcaption></figure>
<!-- /wp:image -->

<!-- wp:generateblocks/headline {"uniqueId":"29077a9a","element":"h3"} -->
<h3 class="gb-headline gb-headline-29077a9a gb-headline-text">Others</h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:list -->
<ul><li>You can now set the JMSType in the header via the Properties in JMS Samplers.</li><li>You can now send the raw results to Influx DB backend as shown below.</li></ul>
<!-- /wp:list -->

<!-- wp:image {"id":7874,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-4-1024x284.png" alt="Influx DB Backend Listener" class="wp-image-7874"/><figcaption>Influx DB Backend Listener</figcaption></figure>
<!-- /wp:image -->

<!-- wp:list -->
<ul><li>In HTML Dashboard, the text has been changed from KO to FAIL.</li></ul>
<!-- /wp:list -->

<!-- wp:image {"id":7875,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-5.png" alt="From KO to FAIL" class="wp-image-7875"/><figcaption>From KO to FAIL</figcaption></figure>
<!-- /wp:image -->

<!-- wp:list -->
<ul><li>Icons are small in this release (bug or feature) and JMeter Plugins icon blended with the JMeter icons.</li></ul>
<!-- /wp:list -->

<!-- wp:image {"align":"center","id":7876,"width":163,"height":27,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-6.png" alt="JMeter Plugins Icon" class="wp-image-7876" width="163" height="27"/><figcaption>JMeter Plugins Icon</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:image {"align":"center","id":7877,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-7.png" alt="Icon row in JMeter 5.4" class="wp-image-7877"/><figcaption>Icon row in JMeter 5.4</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:image {"align":"center","id":7878,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://qainsights.com/wp-content/uploads/2020/12/image-8.png" alt="icon row in JMeter 5.3" class="wp-image-7878"/><figcaption>icon row in JMeter 5.3</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:list -->
<ul><li>You can add the additional SecurityProviders via the command line using the below syntax.</li></ul>
<!-- /wp:list -->

<!-- wp:preformatted -->
<pre class="wp-block-preformatted">&lt;full qualified classname&gt;:&lt;position&gt;:&lt;config-string</pre>
<!-- /wp:preformatted -->

<!-- wp:list -->
<ul><li>Fall back for JMETER_HOME env variable</li><li>Korean Translation</li><li>JARs have been upgraded notably: neo4j driver, commons, log, Rhino etc.</li><li><a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=64448">My bug</a> has been fixed. Yay!</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Apart from the above changes, there have been fixes, enhancements, updated documentations etc. You can check the complete history in <a href="https://jmeter.apache.org/changes.html" target="_blank" rel="noreferrer noopener">here</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"ad26b97e"} -->
<h2 class="gb-headline gb-headline-ad26b97e gb-headline-text">Final Words</h2>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>It is recommended to upgrade to JMeter 5.4 for the better performance and for improved features.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Happy Upgrading!</p>
<!-- /wp:paragraph -->