Book Image

Gatling Fundamentals for Stress Testing APIs - Scala [Video]

By : James Willett Ltd.
5 (1)
Book Image

Gatling Fundamentals for Stress Testing APIs - Scala [Video]

5 (1)
By: James Willett Ltd.

Overview of this book

In this focused guide, we will dive into the world of Gatling, the potent open-source tool for web application load-testing. Starting with Gatling installation, we will uncover the power of Gatling Recorder, perfect for capturing user journeys and transforming them into scripts effortlessly. We will start by executing our first Gatling script and gain insights from the application through testing. This will be followed by core topics such as adding pauses, checking response codes, examining response bodies, and data extraction; we will then master debugging session variables and code reuse techniques. Moving ahead, we will dive into advanced topics such as looping HTTP calls, authentication and working with CSV feeders. We will understand basic and complex custom feeders, as well as templating files. We will introduce load simulations, ramping up users, and running Gatling from the command line with runtime parameters. Throughout the course, we will tackle challenges, refine our skills, and learn to monitor test executions with Gatling test result reports. We will also guide you on integrating Gatling into CI pipelines, covering GitHub repositories, Jenkins setup, and Travis CI configuration. By the end, you will be a Gatling expert, capable of effectively load-testing web applications and seamlessly integrating Gatling into CI/CD workflows, ensuring optimal performance and reliability.
Table of Contents (10 chapters)
Free Chapter
1
Introduction to Gatling
Chapter 10
Gatling with Continuous Integration Tools
Content Locked
Section 3
Jenkins Setup
In this video, we will guide you through the process of installing Jenkins locally for use in the upcoming video. To get started, open a new browser tab and visit the official Jenkins website at jenkins.io. Once there, click on the "Download" button, and on the following page, scroll down to find the "Generic Java Package (.war)" download option. If you have previously downloaded it, you can also re-download the package to ensure that you have the latest version for your Jenkins installation.