Gatling simulation assertions failed !

Hello everyone, first of all sorry for my bad english (i’m french student)

i have problem with gatling, i know scala/maven since yesterday.

the error is : Failed to execute goal io.gatling:gatling-maven-plugin:2.1.2:execute (default) on project benchs: Gatling failed. Gatling simulation assertions failed ! Process exited with an error: 2 (Exit value: 2) → [Help 1]

the error appear when benchs web is finished.

mvn -version :

Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_45\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: “windows 7”, version: “6.1”, arch: “x86”, family: “dos”

thx to help me

best regards,

My assertions :

.assertions(
global.responseTime.max.lessThan(WebBenchsParameters.MAX_GLOBAL_RESPONSETIME),
global.successfulRequests.percent.greaterThan(WebBenchsParameters.MIN_SUCCESSFUL_REQUEST_PERCENT)
);

val MAX_GLOBAL_RESPONSETIME = 1000
val MIN_SUCCESSFUL_REQUEST_PERCENT = 10

What are the final stats of the run? For example:

`

Hello John,

thx for your answer.

this is the final stats :

`

It failed because you told it to. The minimum response time was 1800+ms. Your assertion was that all requests would complete in less than 1000ms. That’s what assertions are for. Make sense?