Duration
3 days
OVERVIEW
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. 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.
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.
BENEFITS
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
- Have fun whilst learning a valuable skill & tool
- Command a higher salary
- Improve your skills and offering as a developer and tester
DAY 1 Module 1 – Introduction to Gatling
- What is Gatling
- Benefits of Gatling
- Adoption and Practices of Gatling
- Key Features of Gatling
- When to use Gatling
- Drawbacks / Limitation of Gatling
Module 2 - Gatling Installation & Using the Gatling Recorder
- Overview of Gatling Installation
- Install Gatling via website download
- Gatling Recorder Introduction
- Recording a Complex Page Load with a HAR File
- Record a Full User Journey with a HAR file
- Editing & Executing a Gatling Script
Module 3 - Dependency Installation & Gatling Project Configuration
- Install Gatling Database
- Install Gatling Development Environment Prerequisites
- Create New Gatling Project in Intellij IDEA
- Writing your First Gatling Script
- Using the Gatling Runner Class
- Creating a Base Class & Capturing Traffic through a Proxy
Module 4 - Gatling Script Fundamentals
- Add Pause Time
- Check Response Code
- Check Response Body with JSON Path
- Extract Data from Response Body - for Correlation
- Debugging Session Variables
- Code Reuse with Methods
- Looping HTTP Calls
Module 5 - Gatling Feeders
- CSV Feeders
- Basic Custom Feeder
- Complex Custom Feeder - Part 1
- Complex Custom Feeder - Part 2
- Complex Custom Feeder - Part 3 - Using a JSON Template File
Module 6 - Load Simulation Design
- Basic Load Simulation
- Load Simulation Design - Ramp Up Users Per Second
- Load Simulation Design - Run Simulation for a Fixed Period
- Execution from the Command Line
- Running tests from the Command Line
- Runtime Parameters
- Challenge Set - Create a Complete Gatling Script from Scratch
- Template for the Complete Script Challenge
- Complete Gatling Script Challenge Solution
NoteActivities on high team interaction and role-plays will be incorporated during training session with all participants to further facilitate and strengthen candidates understanding on Gatling Fundamentals concepts and methodology in an overall manner.
Programme scope, delivery arrangements and suitability are confirmed during enquiry.