%%
Last Updated:
- [[2021-04-19]]
%%
Scenarios in [[Gatling]] allow scripters to set [[User Paths]] through an application to [[Making load testing scripts more realistic|make load testing scripts more realistic]].
A scenario can be defined by the functions that it should execute:
```scala
scenario("My Scenario")
.exec(http("Get Homepage").get("http://github.com/gatling/gatling"))
```
[^officialdocs]
[^officialdocs]: _Scenario: Gatling open-source load testing documentation._ Retrieved in April 2021 from https://gatling.io/docs/current/general/scenario/.