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.
We'll cover the following...
We'll cover the following...
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:
Most customer-facing URLs will have load balancers virtually behind them that distribute the load to the multiple instances of the application deployed on different hosts. This load balancing of requests to multiple hosts is what we will delegate to Gatling.
This simulation is no ...