Search⌘ K
AI Features

Create Gatling Test Project

Explore how to create a basic Gatling test project including folder structure and Gradle initialization. Learn to add necessary dependencies and configure the Gatling Gradle plugin to run load and stress testing simulations efficiently.

In the previous lesson, we learned how to set up the environment for writing our first Gatling test script. In this lesson, we will create a basic project structure and add the necessary dependencies.

Creating the basic project structure

Mac / Linux

$ mkdir -p gatling-load-test/src/{test,main}/{scala,resources} gatling-load-test/src/test/scala/simulations

Windows

$ mkdir gatling-load-test gatling-load-test\src gatling-load-test\src\main gatling-load-test\src\main\resources gatling-load-test\src\main\scala gatling-load-test\src\test gatling-load-test\src\test\scala gatling-load-test\src\test\resources gatling-load-test\src\test\scala\simulations
...