jmeter

Tips and Tricks to Master jmeter

Fix JMeter SNI Issue

Jmeter Dec 7, 2017

Got an handshake_alert or any other Https related issue with JMeter? It might be linked to Server Name Indication HTTPS extension.


SNI is the acronym for Server Name Indication: Server Name Indication (SNI) is an extension to the TLS computer networking protocol by which a client indicates which hostname it is attempting to connect to at the start of the handshaking process. SNI extension may not work with legacy web-servers who doesn’t support it. Fortunately, SNI extension can be disabled in JMeter. JMeter is a Java program. Java has enabled SNI support in Java 7.

How to Use JMeter While Controller

How to Use JMeter While Controller

Jmeter Nov 30, 2017

A complete guide on how to use JMeter’s While Controller to design loops that break on a specific condition.


JMeter’s While controller is best suited for advanced scripts which simulate realistic user behaviors. It allows to define a behavior which occurs on a certain condition. Designing realistic behaving users involves designing users whose behavior depends on the server responses, and act accordingly. This post explores in details various JMeter While usages and explains them thoroughly. Difference with If Controller The difference is pretty simple to understand: If controller children are executed zero or one time when the condition is met, While controller children are executed zero, one or multiples times depending how many times the condition is met.

Reusable Sample JMeter Scripts

Reusable Sample JMeter Scripts

Jmeter Nov 9, 2017

A collection of useful and reusable JMeter JSR223 / BeanShell / Groovy scripts to reuse in your different JMeter JMX Projects.


This blog post aims to be a collection of sample JSR223, Beanshell and other useful reusable scripts. Use them freely in your JMeter projects to leverage the power of JMeter! Reuse them in JSR223 samplers directly as is, or modify them to fit your needs. Many other example JSR223 samples can be found in our documentation. Log a Message log.info("This is the log for INFOR level"); log.warn("This is the log for WARNING level"); log.

How to Install JMeter on a Mac

How to Install JMeter on a Mac

Jmeter Oct 26, 2017

Struggling to get JMeter working on Mac? Downloaded the tarball but don’t know what to do next? Learn how to install JMeter on your Mac, Macbook, iMac.


You have always wanted to use JMeter, on your Mac, but you don’t know how to get started. You might have downloaded JMeter so far, so now how do you get that software installed, up and running? Running a Java program on a Mac isn’t obvious so we are going to explain how to install and run JMeter within minutes using a few command lines. The great thing is JMeter is a Java program.

Enable Gzip Compression In JMeter

Enable Gzip Compression In JMeter

Jmeter Oct 24, 2017

How to enable Gzip compression in JMeter to allow requesting Gzipped content, using HTTP Header Managers and JSR223 Pre Processors.


You’re probably asking yourself: How can I enable Compression support in JMeter? JMeter can use up to 10x more bandwidth when compression is disabled. Learn how to configure JMeter to support Request and Response Compression like GZip. HTTP Compression As explained on HTTP Compression, the client advertises itself as capable of handling various compression formats: GET /encrypted-area HTTP/1.1 Host: www.example.com Accept-Encoding: gzip, deflate The server should then respond with the Content-Encoding: gzip header:

JMeter Result Analysis: The Ultimate Guide

JMeter Result Analysis: The Ultimate Guide

Jmeter Apr 25, 2018

Learn 12 amazing ways to analyze JMeter HTML Report, JTL Results and more! Includes a complete test of 3 major cloud load testing tools.


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.

JMeter Out Of Memory: 12 Actionable Fixes

JMeter Out Of Memory: 12 Actionable Fixes

Jmeter Oct 17, 2017

Tips and Tricks to solve JMeter Out Of Memory, Garbage Collector issues. Learn how to optimize JMeter memory usage.


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

Optimize JMeter for large scale tests

Jmeter Oct 12, 2017

Want to run large distributed JMeter tests efficiently? We share our tips - from hardware configuration to scripts tuning - for on-premise or cloud big scale load testing.


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!

JMeter Regex Extractor: How to Extract Variables

JMeter Regex Extractor: How to Extract Variables

Jmeter Apr 25, 2018

Extract Single or Multiple JMeter variables from a server response using Regex Post-Processor. All the secrets to master Regular Expressions revealed.


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!

Best Tools for the seasoned JMeter Tester

Best Tools for the seasoned JMeter Tester

Jmeter Aug 31, 2017

Non-Exhaustive list of utilities and tools a seasoned JMeter QA uses daily.


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 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.

Get our whitepaper,
A beginners guide to performance testing!