Gatling Fundamentals for Stress, Load & Performance Testing
4.6 (151 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.
551 students enrolled

Gatling Fundamentals for Stress, Load & Performance Testing

Learn the open source Gatling tool and how to stress and load test any application!
Bestseller
4.6 (151 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.
551 students enrolled
Created by James Willett
Last updated 12/2018
English
English [Auto-generated]
Current price: $9.99 Original price: $99.99 Discount: 90% off
30-Day Money-Back Guarantee
This course includes
  • 2 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 Udemy's top 3,000+ 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
Requirements
  • 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
Description

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

  • 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 45 lectures 01:51:43
+ Gatling Fundamentals 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
01:17

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

When to use Gatling
01:00

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:35

Overview of Section 2 of the course

Section 2 Overview
00:26

How to install Gatling by downloading it directly from the website

Install Gatling via website download
01:44

An introduction to using the Gatling Recorder

Gatling Recorder Introduction
01:50

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

Recording a Complex Page Load with a HAR File
02:53

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
04:00

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

Editing & Executing a Gatling Script
02:42

Test your knowledge on the Gatling Recorder

Gatling Recorder Quiz
3 questions
+ Dependency Installation & Gatling Project Configuration
7 lectures 15:20

Overview of Section 3

Section 3 Overview
00:40

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

Install Video Game DB
02:29

Install all the prerequisites required to complete the Gatling course

Install Gatling Development Environment Prerequisites
02:01

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

Create New Gatling Project in Intellij
01:31

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

Writing your First Gatling Script
03:52

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
01:34

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

Creating a Base Class & Capturing Traffic through a Proxy
03:13

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 24:22

Overview of Section 4 of the course

Section 4 Overview
00:44

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

Add Pause Time
05:50

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

Check Response Code
04:10

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

Preview 03:36

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
03:27

See how to view and debug session variables in Gatling

Debugging Session Variables
02:12

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
03:05

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

Looping HTTP Calls
01:18
+ Gatling Feeders
6 lectures 20:58

Overview of Section 5 of the course

Section 5 Overview
00:31

See how to use CSV files for test data in Gatling

Preview 06:18

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

Basic Custom Feeder
03:04

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
05:30

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

Complex Custom Feeder - Part 2
02:42

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
02:53
+ Load Simulation Design
4 lectures 09:31

Overview of Section 6 of the course

Section 6 Overview
00:25

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

Basic Load Simulation
04:26

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

Load Simulation Design - Ramp Up Users Per Second
02:24

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

Load Simulation Design - Run Simulation for a Fixed Period
02:16
+ Execution from the Command Line
3 lectures 08:32

Overview of Section 7 of the course

Section 7 Overview
00:19

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

Running tests from the Command Line
03:30

Customise your Gatling test at runtime by adding runtime parameters

Runtime Parameters
04:43
+ Putting it all Together
3 lectures 07:41

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
02:14

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
02:58

Solution to the Gatling script challenge

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

Overview of Section 9 of the course

Section 9 Overview
00:15

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

Monitoring Test Execution on the Command Line
01:56

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

Gatling Test Results Report
02:13