Jmeter

Tips and Tricks to Master Jmeter

5+ Ways to Debug a JMeter Script

Jmeter May 4, 2018

Learn the secrets used by best performance engineers to Debug JMeter including logs, variables, Regular expressions, JsonPath extractors and more.


If you ever have designed JMeter scripts, I bet you have been stuck at least one time figuring out why a Json Extractor is not working. Guess what? I’ve been there! Do you know why best JMeter Performance Engineers almost always find solutions to their problems? They master JMeter Script Debugging. That’s why I have compiled the best JMeter Debug Practices into a huge single post covering: How to use the Debug Sampler (and get the best out of it), Leverage View Results Tree secret features: Regex Tester, Json Path Tester and Regex Tester (and never fail a variable correlation again), How to use Dummy Sampler to generate fake requests to try things (without hitting a real server!

How to Record a Scenario with JMeter

How to Record a Scenario with JMeter

Jmeter Apr 26, 2018

Learn how to use the JMeter built-in http(s) recorder to record HTTP and HTTPS traffic directly from a web browser (like Firefox or Chrome).


So you started designing a scenario using JMeter manually. After working a while on this grueling task, you start wondering: Isn’t there a way to record browser interactions with JMeter? The short answer is yes! Jmeter’s HTTP(s) Test Script Recorder is exactly designed to record test scenarios. This tutorial teaches you: What a Proxy is and how the recorder works, How to intercept and record HTTP Requests automatically while using your web browser, How to record SSL-secured (https requests), How to configure Proxy Settings with Google Chrome and Firefox, And the most important part: recording the script!

JMeter Basic Authentication Explained

JMeter Basic Authentication Explained

Jmeter Apr 25, 2018

JMeter supports out of the box Basic Authentication through Http Authorization Manager. Learn how to configure JMeter to authenticate using a login and a password.


You’re often confronted with web application which requires user to authenticate. Basic Access Authentication is one of the most simple authentication method: Client includes an HTTP Header like Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=, with Base64 encoded username and password (username:password equals dXNlcm5hbWU6cGFzc3dvcmQ= in Base64) in each request, Server grants access whenever the provided username and password are correct. This guide will teach you 3 different ways to handle basic authentication:

Rest API Testing with JMeter (Step by Step Guide)

Rest API Testing with JMeter (Step by Step Guide)

Jmeter Apr 23, 2018

Learn how to load test a Json Rest API using JMeter by handling authentication headers, extracting variables from Json responses and applying Json assertions. Includes a sample JMX project.


I’m sure you’re here because you need to load test a Json Rest API. It’s not a surprise since Rest API are increasingly popular these days. That’s the purpose of this guide: help you load test a Json Rest API through a concrete example, OctoPerf’s Json Rest API. And this guide will completely get you through the following knowledge: Handle Rest API Login using an Http POST Request, Extract Variables from a Json Response and reuse it later in the script, And verify Json responses using JMeter Json Assertion (introduced in JMeter 4).

JMeter Assertions: The Ultimate Guide

JMeter Assertions: The Ultimate Guide

Jmeter Apr 19, 2018

10+ JMeter Assertions fully reviewed. Learn how to use assertions like XPath, JSON, JSR223, Beanshell, Size and Duration through real-world examples illustrated with many screenshots.


Wether you want to: Check if the server response contains a specific string, Or Verify the server returned an HTTP 200 OK, Or check the value of a json field (using JsonPath like $.store..price). Assertions are the way to go. The problem is: you don’t know how to get started. And the number of available assertions is overhelming. No worries! This ultimate guide on JMeter Assertion explores every single assertion type through comprehensive examples.

How to Install JMeter on Windows

How to Install JMeter on Windows

Jmeter Apr 16, 2018

Need help to get JMeter working on Windows? This guide learns you how to install JMeter on your PC running Windows 7, 8 or 10. in just a few minutes.


JMeter isn’t particularly hard to install. But that’s easy to say when you’ve done it many times. Bsically if you want to get started with JMeter on Windows. That’s great because this guide is for you! Let’s see how to install JMeter on Windows. Install Java Check Java Version JMeter is a Java program: the Java Virtual Machine must be installed prior to installing JMeter. To check if Java is installed properly:

JMeter CSS JQuery Extractor

JMeter CSS JQuery Extractor

Jmeter Apr 13, 2018

Learn how to use JMeter CSS JQuery Extractor to work with HTML responses. a lot of real-world examples with detailed JMeter screenshots and explanations.


I guess if you are here, chances are you have already visited our JMeter series on variable extraction: XPath Extractor: extract content from XML responses using XPath Expressions, Regexp Extractor: extract content using Regular Expressions, and Json Path Extractor: extractor content using JsonPath. There is another way to extract content from a server response: Using CSS Selectors or JQuery Selectors. Let’s see how we can leverage selectors to extract variables with JMeter!

JMeter XPath Extractor Guide

JMeter XPath Extractor Guide

Jmeter Apr 10, 2018

Learn by examples how to use JMeter XPath Path Extractor to work with XML and HTML server responses. Master XPath Expressions through real-life examples and detailed screenshots.


If you’re here, it’s probably because you need to extract variables from an XML (like SOAP) response using JMeter. Best of all, it works with HTML Too. If you’re new to JMeter, read our JMeter Tutorial to get started quickly. Besides, we have an excellent guide on JMeter’s Json Extractor too. Good news! You’re on the definitive guide to master JMeter XPath Extractor using XPath Expressions. Let’s go! XPath Expressions XPath Syntax XPath expressions are a language to select nodes within an XML document.

JMeter Plugins Installation Guide

JMeter Plugins Installation Guide

Jmeter Apr 4, 2018

Need help to setup JMeter Plugins? No worries! Learn how to install JMeter Plugins Manager with detailed screenshots and explanations.


Struggling with JMeter Plugins setup? Need some help? Good news: you’re in good hands. Let’s guide you through the steps to install and manage JMeter Plugins on top of your JMeter. If you don’t have JMeter already, please Download and Install JMeter first. This tutorial fully covers the following points: Download and install JMeter Plugins Manager, Install, Upgrade and Remove JMeter Plugins through JMeter UI, and Which JMeter Plugins you should use.

JMeter Tutorial For Beginners

JMeter Tutorial For Beginners

Jmeter Mar 29, 2018

New to JMeter? This tutorial is for you. It covers everything you need to know: dynamic parameters handling, scripting realistic scenarios and debugging thread groups.


You are probably looking for a tutorial to quickly learn how to use JMeter. You have already read many other JMeter Tutorials, but the only thing which comes to your mind is… Boring. That’s great because this Huge Tutorial will teach you in a way you don’t fall asleep: What JMeter Is: Learn what a Load Testing Tool is, How It Works: get introduced to the concepts behind the tool and know the JMeter features, How to Setup the Tool: learn how to install and run JMeter, How to Build a Test Plan: JMeter Test Plan is the root for all tests, learn how to create your own, How to Run Your First Test: We’re going to unleash JMeter’s power, How to design dynamically behaving users by extracting content from server responses, Finally, How to Collect and Analyze Results: gathering response times and analyzing the target website performance.