Skip to content

JMeter

JMeter Result Analysis: The Ultimate Guide

I'm sure you agree that: There are so many ways to collect and interpret JMeter Results, you feel lost.

Well, it turns out after reading this post, you will know 12 different ways to collect and analyze results!

We're going to explore every single possible way to get insightful metrics, including graphs, charts, tables, html reports and more. JMeter is such a complex tool with so many amazing possibilities that it becomes difficult to know what to do.

This ultimate guide about How To Analyze JMeter Results will jump start your JMeter knowledge.

JMeter Out Of Memory: 12 Actionable Fixes

If you're here, it's because you've probably experienced Java Heap Space exceptions while running JMeter. Isn't it?

JMeter Out Of Memory exceptions happen during a heavy load tests, with the following log lines appearing in jmeter.log:

2017/10/01 13:35:16 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space

It can also be a message like Unable to create new native Thread. Don't panic!

You'll learn 12 ways to get ride of memory issues and get a better understanding of how the JVM works.

Optimize JMeter for large scale tests

I'm sure you already have experience intense moments of loneliness trying to run distributed tests with JMeter. Am I wrong?

Sometimes, you hate JMeter solely for that reason. You've sweated blood trying to get the whole machinery up and running. I know this feeling. Want to know a secret? No, even better. Want to know 31 tips to fix JMeter distributed testing issues? I already see you smiling again!

Tips and tricks

We have compiled a huge list of all the practical tips and tricks to easily scale JMeter. Let's dive into the subject!

  1. Run From Command Line: avoid using JMeter UI during load tests, it can eat a lot of memory:
    jmeter.sh -n -t script.jmx results.jtl
    

JMeter Regex Extractor: How to Extract Variables

You're surely here because you are looking for the Ultimate Tutorial explaining how JMeter's Regex Extractor works.

Great News! This post covers everything you need to know about variable extraction using Regular Expressions.

We'll learn many concepts along the way:

  • How to re-use JMeter variables (like ${foo}) in subsequent samplers and controllers (If Controller, Response Assertion, etc.),
  • How to extract single and multiple values from an HTTP message body,
  • How to write lightning fast regular expressions, and boost JMeter speed,
  • and more!

By the way, we suggest you to take a look at our tutorials explaining how to use Json Extractor and XPath Extractor too.

Let's have some fun!

Best Tools for the seasoned JMeter Tester

As a professional JMeter tester, i'm sure you've always dreamt about knowing what other seasoned JMeter QA tools use. The following list describes the most interesting tools to go along with JMeter.

Fiddler

Fiddler

Telerik Fiddler is a free web debugging tool which logs all HTTP(S) traffic between your computer and the Internet. Inspect traffic, set breakpoints, and fiddle with http requests.

Fiddler is really useful to record the http requests between your browser and the remote HTTP servers. It can also be used to debug http calls made by JMeter, by configuring JMeter to use Fiddler as a proxy.

Fiddler can also export the recorded HTTP requests in various formats include HAR files. Thanks to Fiddlers auto-generated SSL Certificate, once you have trusted the Fiddler CA Root Certificate, recording SSL encrypted website becomes a breeze.