Skip to content

JMeter

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.