Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What's New in Apache JMeter 3.1

DZone's Guide to

What's New in Apache JMeter 3.1

The newest version of JMeter has added improved static html reporting, sent bytes KPI, and global timers. A nice upgrade and worth adding to your testing toolkit.

· Performance Zone
Free Resource

The Apache JMeter team will release JMeter 3.1 in a week. The major release of JMeter 3.0 was in May and we’re already seeing new features and improvements that will improve your load testing and analysis abilities. Which new abilities will you have in JMeter v. 3.1? Read this blog post to find out. Here are the three most important things you need to know about JMeter 3.1.

1. Open-Source Static HTML Report Is Stronger

Reports and tables are crucial elements for analyzing test results. They can help you discover bottlenecks, learn about your system’s abilities, and analyze trends and statistics.

JMeter 3.1 introduces new reports and summary tables.

Connect Time Over Time Graph

The Connect Time Over Time Graph enables users to view and analyze how long it took each request to connect, over the different times of the test. The Connection Time KPI is important for learning and understanding the responsiveness of the resource tested. Slow responsiveness leads to poor user experience and customer migration to competitors. Knowing when connection time was high can help determine its cause and help in fixing it faster. Display over time also shows trends.

Image title

Response Time Percentiles Over Time (Successful Responses) Graph

This graph displays how long it takes the system to process successful requests over time for the different percentiles of the sample size. These are important for understanding your users’ experiences while segmenting the user base. If you look at the 95th percentile, for example, you can determine the experience of the majority of users, while excluding extreme incidents. This is a better KPI for this purpose than average. As you probably know, high response time over time leads to customer frustration which results in poor business and sales. As before, the analysis over time is crucial for detecting problems and identifying trends.

Response Time Percentiles over Time (Successful Responses) Graph jmeter 3.1

Source 

Response Time Overview Graph

This graph presents an overview of the time it took the system to process requests, for the complete test. Like the previous graphs, this display is also important for understanding the customer’s point of view of your site’s performance. If there were too many requests that had a higher response time than what you determined through your business criteria, you have a bottleneck you need to fix. The aggregation is helpful for quickly identifying system performance.

Response Time Overview Graph jmeter 3.1

Source

JMeter 3.1 will also present the top 5 errors in the Sampler summary table. This identification quickly points you to the issues that need fixing. CA BlazeMeter also provides analysis, summary and trend reports, which you can read about here.

2. New Sent Bytes KPI is Supported

Previously, JMeter only reported Received Bytes. In JMeter 3.1, Sent Bytes are also supported. This new feature provides users with information about how response time and connect time is influenced by the number of sent bytes. This enriches your analysis abilities.

3. Introducing Global Timer Scaling Factor Property

Pauses are an integral part of scenarios and test scripts. In real-life, customers might pause for five seconds after logging in, or pause for 10 seconds after conducting a search between items. These can be managed in load tests through JMeter timers.

However, if JMeter users want to update the test and change pause time configurations during script development, they need to manually change each timer. But not anymore. In JMeter 3.1, the global timer enables users to update all pauses in one place. This is especially important in large scripts and saves development time and meticulous work. Another way to save time is the step-by-step debugging feature CA BlazeMeter developed and released to open-source.

These changes in JMeter, along with memory improvements and many performance improvements and optimizations, are a good reason to migrate to JMeter 3.1.

Click here to learn more about performance testing with JMeter in this free webinar.

Topics:
performance ,apache ,jmeter ,kpi

Published at DZone with permission of Noga Cohen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}