DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Agentic Testing: Moving Quality From Checkpoint to Control Layer
  • Why Your QA Engineer Should Be the Most Stubborn Person on the Team
  • The Only AI Test That Still Humbles Every Machine on Earth
  • The Rise of AI Orchestrators

Trending

  • From APIs to Actions: Rethinking Back-End Design for Agents
  • Why AI-Generated Code Breaks Your Testing Assumptions
  • Retesting Best Practices for Agile Teams: A Quick Guide to Bug Fix Verification
  • S3 Vectors: How to Build a RAG Without a Vector Database
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Get Load Test Reports From JMeter

Get Load Test Reports From JMeter

Make sure you're getting the most of your JMeter load testing by getting a readable report for better analysis. Read on to learn how.

By 
Martin Krutak user avatar
Martin Krutak
·
Sep. 22, 17 · Tutorial
Likes (4)
Comment
Save
Tweet
Share
25.8K Views

Join the DZone community and get the full member experience.

Join For Free

So the test is finally done and it is time to analyze and optimize, right? No? What do you need to do after a JMeter test to evaluate its results?

You know how the result of a JMeter load test is a few XML or CSV files... and that's it. In practice, that often means that the tester looks at the numbers and “evaluates the important stuff.” That also usually means that some other “important stuff” is missing and the test is essentially worthless. That's not real reporting or analysis.

You can try to visualize the results by filling listeners with the output files and saving them as a graph or table (but only if the listener saves the log to the disk, otherwise you won't see anything). But even if everything works as it should, then you only see individual parts and not a holistic view of the results. That's a lot of work for a pretty paltry outcome.

This should just be a lot easier.

Would You Like a One-Click Test Report?

During the test, you can see the live status of everything you'd have to search for in a pile of numbers in JMeter's results.

Once the test is done, the load test report is generated with one-click on Generate report button.

Check out this example report.

You can easily compare multiple graphs using the intersection tool in the right bottom corner. Pinpoint the exact moment on a graph and compare it with the other graphs. This allows you to discover unexpected connections.

Smartmeter report analysis

Acceptance Criteria

Acceptance criteria enables auto-evaluation of test results. Quickly see if they were met or not. Red means a failure. Take advantage of continuous integration tools to evaluate tests on your behalf!

Acceptance criteria

Errors Overview

When an error occurs, you need to see a full detail of it - requested URL, request headers and body, response code, headers and body, and assertion message. Everything is included in the SmartMeter.io report.

Errors overview

Trend Analysis

Are you running your tests multiple times or as a part of your CI pipeline? If so, you will appreciate the Trend analysis page. No configuration is required; trends are formed automatically based on the test script file name.

Getting a Report From JMeter

Load a log file from JMeter (.jtl file) in an XML format to the Report Generator and get a report with one-click. SmartMeter.io 1.5.0 or newer is required.

  1. Open SmartMeter.io Editor (Create/Edit Scenario on Welcome screen).

  2. Right-click on WorkBench (the last element in the component tree on the left).

  3. Select Add / Non-Test Elements / et@sm - Report Generator.

  4. Click Browse and select the JMeter log file.

  5. Optionally, click Browse and select the test script file (to evaluate acceptance criteria and get Trend analysis).

  6. Click the Generate report button

Report generator componentAlternatively, run your JMeter test script in SmartMeter.io and get the test report the usual way, or easily create a new one. Check out the Quick guide to get some starting tips.

There’s More

The entire report, log, and test itself are backed-up while the report is created. This means you'll never lose old results and can compare them to new ones.

You can also customize the report because its template is a simple HTML file that makes it easy to add your corporate logo or use the right colors to make it stand out in a presentation.

If you're missing something, or something is not relevant, you can re-generate it and set exactly what you want to see, but more on that another time.

Now, get to testing!

Testing

Published at DZone with permission of Martin Krutak. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Agentic Testing: Moving Quality From Checkpoint to Control Layer
  • Why Your QA Engineer Should Be the Most Stubborn Person on the Team
  • The Only AI Test That Still Humbles Every Machine on Earth
  • The Rise of AI Orchestrators

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook