Blog

Load Testing Blog

Spring Boot + Hazelcast Tutorial

Development Jun 12, 2018

Learn how to manage High Availability, Leader Election and Horizontal Scaling a Spring Boot application using Hazelcast. Full source code available on Github.


It all started when we had the following problem: How can you enable High Availability in a Rest API based on Spring Boot? As you may know, we have two products: (both based on Spring Boot) OctoPerf Saas-Edition: the online saas platform, OctoPerf Enterprise-Edition: the full on-premise installable version. While Saas-Edition absolutely needs High Availability, the Enterprise-Edition doesn’t share the same requirements. But, as astonishing as it may seem, both versions share exactly the same code, while working slightly differently.

JMeter vs SoapUI

JMeter vs SoapUI

Load Testing Jun 5, 2018

Which open source tool between Apache JMeter and SoapUI best suits your needs? Learn the key differences between those tools and make your choice.


There are many functional and load testing tools available on the market. That’s great! The most renewed open-source tools are certainly JMeter and SoapUI. But, I’m sure you agree to say that it’s difficult to know which one best suits your needs: What features has JMeter? What are the pros of using SoapUI? Which tool has best community? User experience? Script maintainability? Should I use JMeter or SoapUI? Or maybe both?

Rancher 2: Getting Started

Rancher 2: Getting Started

Devops Jun 4, 2018

Learn how to setup and run Rancher 2 on your own computer. Covers most of the important topics: Ingress, Workload, Pods, Service Discovery and more.


You may be in the situation like me: you have already extensively used Rancher v1.6.x but would like to migrate to Rancher v2.0.x. For those who don’t know, Rancher is a Docker Orchestration tool. While trying to setup a development machine with Rancher 2 installed, I came accross numerous different issues. I’ve spent hours figuring out how to fix them. This tutorial is all about sharing the tips and tricks to avoid you waste time:

OctoPerf v9: The New Unified Docker Agent

OctoPerf v9: The New Unified Docker Agent

Innovation May 28, 2018

OctoPerf v9.0.0 and above feature a much simpler Unified Docker + Monitoring Agent. Learn what’s new and the changes implied to the hosts management.


OctoPerf Enterprise-Edition is OctoPerf fully installable on your own hardware. Up to OctoPerf v8.x.x, OctoPerf EE uses Rancher to manage load generators. After multiple setup sessions with our customers, we came to the conclusion that we needed to improve the way load generators and monitoring agents are managed. We had to make core improvements to make OctoPerf EE much easier to install. Let’s see: How OctoPerf currently works and why it’s not optimal, And the changes we’ve made in the upcoming OctoPerf v9.

5+ Ways to Debug a JMeter Script

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.

D3.js Tutorial: Drag and Drop

D3.js Tutorial: Drag and Drop

Development Apr 18, 2018

Learn how to handle drag and drop using D3-drag to manipulate SVG graphics. d3.drag() explained via code samples and live examples.


In our previous tutorial we explained how to handle click events with D3.js to add, remove and select shapes in a SVG chart. Using the same map example this tutorial explains how to handle drag and drop with D3.js. To follow this guide you must know about: D3.js installation, D3.js selectors, and D3.js data binding. All these concepts are explained in our D3 getting started guide.