Create Gatling Test Project

Learn to create a new project where we can write Gatling test scripts.

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

Initializing Gradle

...