# Misunderstanding with the installation gatling 3.14.3

**URL:** <https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715>\
**Category:** Gatling (Open-Source)\
**Created:** [July 9, 2025, 12:17pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715 "2025-07-09T12:17:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamchumak](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iamchumak](https://community.gatling.io/u/iamchumak)\
**Post date:** [July 9, 2025, 12:17pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715/1 "2025-07-09T12:17:04Z")

</div>

According to this instruction [Gatling installation with the bundle, build tool, or package manager](https://docs.gatling.io/tutorials/oss/) i try to install Gatling to my project.  
I have a Spring Boot 3.5.3 and i added latest gatling as maven dependencies

```auto
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>4.19.1</version>
</plugin>

<dependencies>
<dependency>
  <groupId>io.gatling.highcharts</groupId>
  <artifactId>gatling-charts-highcharts</artifactId>
  <version>3.14.3</version>
  <scope>test</scope>
</dependency>
</dependencies>

```

When i run command ` ./mvnw clean gatling:test` the project crashed and as far as i understand thats because of version conflict Netty.

Next step i try to run gatling as independent java application.

On this page [Gatling installation with the bundle, build tool, or package manager](https://docs.gatling.io/tutorials/oss/) i downloaded two archive

1. Install Gatling using a ZIP file for build tools#

2. Use the standalone bundle#

I extract and investigate this two archive and **they absolutely the same**. What sens to create two similar link ?

The next two commands:

```auto
    cd gatling-maven-plugin-demo-java-main
    ./mvnw clean gatling:test

```

The project finished successfully and test _BasicSimulation.java_ passed.  
My custom gatling test located in my spring boot application.  
Is it possible to specify with an argument where my tests are located? Otherwise I will be forced to copy and paste test from **my-spring-boot-app/test** directory to **gatling-maven-plugin-demo-java-main**.  
Something like:

```auto
./mvnw clean gatling:test -- test-location= /path/to/my/tests/files

```

Is it possible to configure Gatling and make it as a global command line command ?  
**Correct me if i do or understand something wrong.**

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [July 9, 2025, 12:22pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715/2 "2025-07-09T12:22:17Z")

</div>

> the project crashed and as far as i understand thats because of version conflict Netty.

Don’t share the classpath between your Java application and your Gatling tests.

> I extract and investigate this two archive and **they absolutely the same**.

They are not. You’re not display hidden folders (name starting with a dot).

> Is it possible to specify with an argument where my tests are located?

No

> Otherwise I will be forced to copy and paste test

Wrong. You can have your Gatling maven project in a subfolder of your application code repository, without mixing with your application dependencies.

---

<div class="post-metadata">

**Author:** ![iamchumak](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iamchumak](https://community.gatling.io/u/iamchumak)\
**Post date:** [July 9, 2025, 12:42pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715/3 "2025-07-09T12:42:42Z")

</div>

> [@slandelle](#):
>
> Wrong. You can have your Gatling maven project in a subfolder of your application code repository, without mixing with your application dependencies.

 ![Screenshot from 2025-07-09 15-36-05](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/e/ed4c7d6f12d87ef2d2722541e86d236b9f006192.png)  
Do you mean create something like this project structure ?  
I created gatling-tests package and separated pom.xml

```auto
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>io.gatling.demo</groupId>
    <artifactId>gatling-test</artifactId>
    <version>3.14.3</version>

    <properties>
        <maven.compiler.release>11</maven.compiler.release>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <gatling.version>${project.version}</gatling.version>
        <gatling-maven-plugin.version>4.19.1</gatling-maven-plugin.version>
        <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
        <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
        <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.gatling.highcharts</groupId>
            <artifactId>gatling-charts-highcharts</artifactId>
            <version>${gatling.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>${maven-resources-plugin.version}</version>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <version>${maven-jar-plugin.version}</version>
            </plugin>
            <plugin>
                <groupId>io.gatling</groupId>
                <artifactId>gatling-maven-plugin</artifactId>
                <version>${gatling-maven-plugin.version}</version>
                <configuration>
                    <!-- Enterprise Cloud (https://cloud.gatling.io/) configuration reference: https://docs.gatling.io/reference/integrations/build-tools/maven-plugin/#running-your-simulations-on-gatling-enterprise-cloud -->
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

```

What happens if I do **gatling-tests** as a modlue and add to the parent pom.xml

```auto
<modules>
    <module>gatling-tests</module>
</modules>

```

i assume it will be crashed .

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [July 9, 2025, 12:48pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715/4 "2025-07-09T12:48:34Z")

</div>

> I assume it will be crashed .

Yes, most likely, because your application project is the parent and not a module.  
If you want a global maven project, you must make your application a module too and define all your application dependencies in the module and not the parent.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [August 8, 2025, 12:49pm UTC](https://community.gatling.io/t/misunderstanding-with-the-installation-gatling-3-14-3/9715/5 "2025-08-08T12:49:10Z")

</div>

Closed on August 8, 2025, 12:49pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
