Example 3 - Distributed Load Test Simulation

Learn how to run the simulation against a service deployed on multiple hosts and the simulation script from multiple client machines.

Running the simulation against multiple hosts

In this simulation example, we will learn how to distribute the load equally against multiple target URLs or endpoints.

Gatling, out-of-the-box, provides this feature, assuming we have set an HTTP global configuration, which will be used by all the requests.

Consider the following simulation for a demonstration:

Get hands-on with 1400+ tech skills courses.