4.49 out of 5
185 reviews on Udemy

Gatling Fundamentals for Stress, Load & Performance Testing

Learn the open source Gatling tool and how to stress and load test any application!
James Willett
647 students enrolled
English [Auto-generated]
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

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

  • Open source tool, so no cost to use it

  • Performance testers with Gatling experience are in high demandyet 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

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

Gatling Fundamentals Course Overview

Overview of the Gatling Fundamentals course , including the course structure

Introduction to Gatling

Gatling Introduction

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

Key Features of Gatling

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

When to use Gatling

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

Gatling Introduction Quiz

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

Gatling Installation & Using the Gatling Recorder

Section 2 Overview

Overview of Section 2 of the course

Install Gatling via website download

How to install Gatling by downloading it directly from the website

Gatling Recorder Introduction

An introduction to using the Gatling Recorder

Recording a Complex Page Load with a HAR File

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

Record a Full User Journey 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

Editing & Executing a Gatling Script

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

Gatling Recorder Quiz

Test your knowledge on the Gatling Recorder

Dependency Installation & Gatling Project Configuration

Section 3 Overview

Overview of Section 3

Install Video Game DB

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

Install Gatling Development Environment Prerequisites

Install all the prerequisites required to complete the Gatling course

Create New Gatling Project in Intellij

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

Writing your First Gatling Script

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

Using the Gatling Runner Class

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

Creating a Base Class & Capturing Traffic through a Proxy

See how to create a Base class that all other classes will inherit from, and see how to capture HTTP traffic in a proxy such as Fiddler

Section 3 Quiz

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

Gatling Script Fundamentals

Section 4 Overview

Overview of Section 4 of the course

Add Pause Time

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

Check Response Code

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

Check Response Body with JSON Path

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

Extract Data from Response Body - for Correlation

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

Debugging Session Variables

See how to view and debug session variables in Gatling

Code Reuse with Methods

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

Looping HTTP Calls

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

Gatling Feeders

Section 5 Overview

Overview of Section 5 of the course

CSV Feeders

See how to use CSV files for test data in Gatling

Basic Custom Feeder

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

Complex Custom Feeder - Part 1

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 2

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

Complex Custom Feeder - Part 3 - Using a JSON Template File

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

Load Simulation Design

Section 6 Overview

Overview of Section 6 of the course

Basic Load Simulation

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

Load Simulation Design - Ramp Up Users Per Second

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

Load Simulation Design - Run Simulation for a Fixed Period

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

Execution from the Command Line

Section 7 Overview

Overview of Section 7 of the course

Running tests from the Command Line

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

Runtime Parameters

Customise your Gatling test at runtime by adding runtime parameters

Putting it all Together

Challenge Set - Create a Complete Gatling Script from Scratch

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

Template for the Complete Script Challenge

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

Complete Gatling Script Challenge Solution

Solution to the Gatling script challenge

Test Monitoring & Reporting

Section 9 Overview

Overview of Section 9 of the course

Monitoring Test Execution on the Command Line

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

Gatling Test Results Report

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

Conclusion & Next Steps

Conclusion & Next Steps

Final conclusion to this course and steps to take next to continue your Gatling learning experience

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5 out of 5
185 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


2 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion