Join today

Module 2 - Load Test an eCommerce Solution (Scala)

Take your knowledge and understanding of
Gatling to the next level, by creating a Gatling load testing framework from scratch against a working eCommerce solution.
By answering the quizzes, you will get your certification!*
The module is divided into 3 sections.




What's included?

Section A - Project Overview and Setup

In the first section of the course, we will have an overview of the eCommerce solution that we will be creating Gatling scripts against, setting up our Gatling development environment and using the Gatling recorder to create our initial Gatling script.
  • Overview of the demo eCommerce solution we will be scripting against
  • Setting up our Gatling development environment in the IDE
  • Using the Gatling recorder to create our initial Gatling script
  • Initial editing and refactoring to get our Gatling script functional

Section B - Gatling Scripting

This section will see us spending most of our time in the IDE writing Gatling code. We will be covering many of the fundamental concepts of Gatling required to create robust and effective load testing scripts, The following is covered in this section:
  • Refactoring Gatling code into objects for easy reuse and flexibility
  • Using multiple selectors to capture data from our web page and HTTP responses
  • Adding parameterization to our scripts to support correlation, both through CSV and JSON feeders
  • Using Gatling's powerful session API to store and manipulate session data

Section C - Simulation Design & Execution

In the final section of the course, we will take our Gatling script and see how to design different types of load simulation. As well as examining the detailed load testing reports produced by Gatling after each test execution, we will also have a demonstration of distributed test execution using Gatling FrontLine. The following is covered in this section:
  • Simulation design for both open and closed workload models, as well as throttled simulations
  • Adding multiple user journeys and multiple simulations to our script, as well as executing simulations both in parallel and sequentially
  • Using runtime parameters to set inputs such as test execution duration and number of users to run
  • Distributed load testing in the cloud with Gatling FrontLine, the enterprise version of Gatling