# How to run a simulation directly without typing mvnw.cmd Gatling:test

**URL:** <https://community.gatling.io/t/how-to-run-a-simulation-directly-without-typing-mvnw-cmd-gatling-test/9361>\
**Category:** Gatling (Open-Source)\
**Created:** [October 17, 2024, 4:15am UTC](https://community.gatling.io/t/how-to-run-a-simulation-directly-without-typing-mvnw-cmd-gatling-test/9361 "2024-10-17T04:15:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhawna0612](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bhawna0612](https://community.gatling.io/u/bhawna0612)\
**Post date:** [October 17, 2024, 4:15am UTC](https://community.gatling.io/t/how-to-run-a-simulation-directly-without-typing-mvnw-cmd-gatling-test/9361/1 "2024-10-17T04:15:29Z")

</div>

**Gatling version** : 3.12.0  
**Gatling flavor** : scala  
**Gatling build tool** : maven  
I am using the latest Gatling version and because the Engine class is gone where we could add the class name which we would like to run.  
Now as I understand we need to pass mvnw.cmd gatling:test in the command line and then need to select the simulation by number if multiple simulations exist as in below screenshot

![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/7/79060791de386bcfd3515c79d987623e5bcc402c.jpeg)

Just wondering is there a way to configure the simulation so that it can be run directly without typing into command line.

Something here, so by clicking on run button, it should run directly

![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/bc46d7ed51749175f0331a5b134282ad7da4e5c9.png)

I tried to configure it as below but it shows error. How to overcome this error? Any help would be appreciated

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/d/da9d4fe0b107a9d7ebe0d17d2363288d4b7cd437.jpeg)

---

<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:** [October 17, 2024, 5:54am UTC](https://community.gatling.io/t/how-to-run-a-simulation-directly-without-typing-mvnw-cmd-gatling-test/9361/2 "2024-10-17T05:54:35Z")

</div>

Please check the [documentation of our maven plugin](https://docs.gatling.io/reference/integrations/build-tools/maven-plugin/#running-your-simulations).

---

<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:** [November 16, 2024, 5:55am UTC](https://community.gatling.io/t/how-to-run-a-simulation-directly-without-typing-mvnw-cmd-gatling-test/9361/3 "2024-11-16T05:55:20Z")

</div>

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