# Skipping Gatling tests in Maven build

**URL:** <https://community.gatling.io/t/skipping-gatling-tests-in-maven-build/314>\
**Category:** Gatling (Open-Source)\
**Created:** [April 4, 2013, 8:32am UTC](https://community.gatling.io/t/skipping-gatling-tests-in-maven-build/314 "2013-04-04T08:32:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romain\_Sertelon1](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@Romain\_Sertelon1](https://community.gatling.io/u/Romain_Sertelon1)\
**Post date:** [April 4, 2013, 8:32am UTC](https://community.gatling.io/t/skipping-gatling-tests-in-maven-build/314/1 "2013-04-04T08:32:13Z")

</div>

Hi,

I’ve just tried to build a project with gatling tests in it, with the -Dmaven.test.skip=true and -DskipTests properties, but tests are still executed.

I’ve looked in the gatling maven plugin and could not find anything for skipping the execution of the tests.

Here’s my question: can we add an option to skip tests ?

Cheers,

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 4, 2013, 8:37am UTC](https://community.gatling.io/t/skipping-gatling-tests-in-maven-build/314/2 "2013-04-04T08:37:38Z")

</div>

Yep, sure! Raise an issue.

---

<div class="post-metadata">

**Author:** ![Andre\_Piwoni](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Andre\_Piwoni](https://community.gatling.io/u/Andre_Piwoni)\
**Post date:** [September 9, 2014, 1:01am UTC](https://community.gatling.io/t/skipping-gatling-tests-in-maven-build/314/3 "2014-09-09T01:01:45Z")

</div>

Use -Dgatling.skip and not -Dgatling.test.skip as documented under [http://gatling.io/docs/1.5.6/general\_information/changelog.html](http://gatling.io/docs/1.5.6/general_information/changelog.html)
