Gatling Fundamentals for Stress, Load & Performance Testing
4.5 (752 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,176 students enrolled

Gatling Fundamentals for Stress, Load & Performance Testing

Learn the open source Gatling tool and how to stress and load test any application!
4.5 (752 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,176 students enrolled
Created by James Willett
Last updated 5/2020
English [Auto]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Installation and configuration of Gatling from scratch, with no prior knowledge required
  • Using the Gatling Recorder to model the behaviour of your existing application directly into a Gatling script
  • Setup your development environment for writing your own Gatling load test scripts
  • Learn the layout template of a Gatling script and what to add into each section
  • Explore and write core Gatling script functionality such as adding loops, refactoring code to objects, adding test data through feeders and much more
  • Design load test scenarios in your Gatling script, and learn how to execute them from the command line
  • Watch your performance test execution in real-time through the command line in Gatling
  • Analyse the test reports generated by Gatling’s built in reporting tools
  • Some basic experience in any computer programming language will be helpful
  • Experience with Scala is a plus, although not required
  • Previous experience of any performance testing tool will be a help, but again not required



In this course, you will learn the fundamentals of using the Gatling stress testing tool - an extremely powerful, open-source performance testing tool in heavy demand in the software industry today. Write many Gatling scripts from scratch against a target application included with this course, all with guidance.

Why Gatling?:

  • Extremely powerful and flexible performance testing solution

  • An open-source tool, so no cost to use it

  • Performance testers with Gatling experience are in high demand - yet few Engineers know this tool

Why this course?:

  • Learn all aspects of Gatling including:

    • Gatling Installation & Configuration, both standalone and in an IDE

    • Using the Recorder to record your user journey

    • Writing Gatling load test scripts,

    • Analyzing test results

  • See how to write many scripts from scratch to become familiar with the process, each script teaches a new concept

  • Run tests from the command line, using popular build tools like Maven and Gradle

  • Learn how to run Gatling tests in a CI environment with Jenkins and Travis CI

  • Although Gatling is pure Scala code, I will show you why the excellent Gatling DSL means that no knowledge of Scala is required to succeed with Gatling

  • Resources for learning Gatling are scarce. It can be overwhelming and intimidating trying to learn this tool on your own from scratch. This course is designed to address that

What are the benefits of taking this course?:

  • Have fun whilst learning a valuable skill & tool

  • Command a higher salary

  • Improve your skills and offering as a developer and tester

This course is for any Developer or Quality Engineer that wants to learn how to use Gatling for adding performance and stress tests to their test suite.

No prior knowledge of performance testing or software development is required, as I will be walking you through the entire process. However, any prior knowledge or experience that you do have in these domains  will be of benefit and will naturally aid your learning.

If you want to add an awesome, fully open source performance testing tool that is in high demand across a wide range of software development roles to your skillset, this is the course for you.

Who this course is for:
  • QA Engineers and Programmers with little or no experience with Gatling
  • Anyone using an alternative load testing tool like JMeter, LoadRunner or NeoLoad that wants to learn a new tool
Course content
Expand all 78 lectures 04:41:06
+ Course Overview
1 lecture 01:56

Overview of the Gatling Fundamentals course , including the course structure

Preview 01:56
+ Introduction to Gatling
3 lectures 03:51

High level introduction to Gatling, including the advantages it has over performance and load testing tools like LoadRunner and NeoLoad

Preview 01:34

Highlights some of Gatling's key features that are also covered in this course

Key Features of Gatling

Discussion on when Gatling would be a good fit for your load testing project

When to use Gatling

Test your knowledge on Gatling following the introduction section of the course

Gatling Introduction Quiz
4 questions
+ Gatling Installation & Using the Gatling Recorder
6 lectures 13:39

Overview of Section 2 of the course

Section 2 Overview

How to install Gatling by downloading it directly from the website

Install Gatling via website download

An introduction to using the Gatling Recorder

Gatling Recorder Introduction

Recording a complex page load with Gatling, and viewing what the generated script looks like

Recording a Complex Page Load with a HAR File

Recording a full user journey with the Gatling Recorder, saving it as a HAR file, and converting that HAR file into a Gatling script

Record a Full User Journey with a HAR file

Make some modifications to the script that we created previously, and run it with Gatling

Editing & Executing a Gatling Script

Test your knowledge on the Gatling Recorder

Gatling Recorder Quiz
3 questions
+ Dependency Installation & Gatling Project Configuration
7 lectures 18:21

Overview of Section 3

Section 3 Overview

See how to install the application that we will be testing in this course - the Video Game DB

Install Video Game DB

Install all the prerequisites required to complete the Gatling course

Install Gatling Development Environment Prerequisites

Shows how to create a new project in Intellij for Gatling script development

Create New Gatling Project in Intellij

Take a look at the outline of a Gatling script, and write our first Gatling script

Writing your First Gatling Script

Look at how to use the Gatling Runner class included in the code, so that we can run our Gatling tests directly from Intellij

Using the Gatling Runner Class

See how to capture HTTP traffic in a proxy such as Fiddler

Capturing Traffic through a Proxy

Test your knowledge on section 3 of the course, where we introduce Gatling script creation in the IDE

Section 3 Quiz
3 questions
+ Gatling Script Fundamentals
8 lectures 37:20

Overview of Section 4 of the course

Section 4 Overview

See how to add pause and wait time into your Gatling script

Add Pause Time

Check the response code that is returned when you call an API or service is what you expect

Check Response Code

Check the response body that you get back from the request contains some text that you expect

Check Response Body with JSON Path

From the response body that you get back, see how to extract some data of your choice, and then use that data in subsequent HTTP calls in your test

Extract Data from Response Body - for Correlation

See how to view and debug session variables in Gatling

Debugging Session Variables

See how we can group our HTTP calls into methods in our Gatling script so that they can be reused later on

Code Reuse with Methods

See how to loop calls based on the methods that we created in the previous lecture

Looping HTTP Calls
+ Gatling Feeders
6 lectures 35:38

Overview of Section 5 of the course

Section 5 Overview

See how to use CSV files for test data in Gatling

CSV Feeders

Our first look at a custom feeder, where we design a basic custom feeder for test data

Basic Custom Feeder

In this lecture we start to make a more advanced custom feeder that we will use to populate our JSON for a new game

Complex Custom Feeder - Part 1

Further look at custom feeders in Gatling, here we see how to call the feeder in our Gatling script

Complex Custom Feeder - Part 2

See how to use the custom feeder with a ELFILE template to make JSON management easier in our scripts

Complex Custom Feeder - Part 3 - Using a JSON Template File
+ Load Simulation Design
4 lectures 18:33

Overview of Section 6 of the course

Section 6 Overview

First look at load simulation design, by designing a basic load simulation in our script

Basic Load Simulation

How to design a load simulation that ramps up users every second

Load Simulation Design - Ramp Up Users Per Second

How to design a load simulation that runs for a fixed duration

Load Simulation Design - Run Simulation for a Fixed Period
+ Execution from the Command Line
3 lectures 13:06

Overview of Section 7 of the course

Section 7 Overview

Learn how to start running your Gatling tests from the command line

Running tests from the Command Line

Customise your Gatling test at runtime by adding runtime parameters

Runtime Parameters
+ Putting it all Together
3 lectures 10:56

In this video we go over and outline of what needs to be done to complete the Gatling Script Challenge

Challenge Set - Create a Complete Gatling Script from Scratch

If you are struggling with the challenge, this video will show you a template of what the Gatling script should look like

Template for the Complete Script Challenge

Solution to the Gatling script challenge

Complete Gatling Script Challenge Solution
+ Test Monitoring & Reporting
3 lectures 04:24

Overview of Section 9 of the course

Section 9 Overview

Learn how to read the monitoring output that is produced during Gatling script executions

Monitoring Test Execution on the Command Line

See how to analyze the final test results report that gets produced at the end of a Gatling test execution

Gatling Test Results Report