Search⌘ K

Scenarios

Explore how to define and implement user scenarios in Gatling scripts to simulate real-world actions. Understand using the exec method to perform HTTP, Web Socket, and other requests. Learn to manage session data and sequence multiple requests within scenarios for accurate performance simulations.

We'll cover the following...

In the previous lesson, we learned about the features offered by Gatling. In this lesson, we will learn about scenarios.

What is Scenario?

Scenario represents the actions performed by a user.

The exec method in a scenario is used to execute an action, which can be any of the following request types:

  • http – execute a HTTP call.
  • ws – execute a Web Socket call.
  • jms – make a
...