From b538bbed03185e9c95c93356982c27de360ba478 Mon Sep 17 00:00:00 2001 From: Arcadius Ahouansou Date: Thu, 10 Mar 2016 00:00:38 +0000 Subject: [PATCH] fixing compilation err --- gatling/src/test/scala/com/menelic/jwcb/gatling/Common.scala | 2 +- .../test/scala/com/menelic/jwcb/gatling/RestApiSimulation.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gatling/src/test/scala/com/menelic/jwcb/gatling/Common.scala b/gatling/src/test/scala/com/menelic/jwcb/gatling/Common.scala index f347a36..e60d29f 100644 --- a/gatling/src/test/scala/com/menelic/jwcb/gatling/Common.scala +++ b/gatling/src/test/scala/com/menelic/jwcb/gatling/Common.scala @@ -13,7 +13,7 @@ object Common { val testUsers = Integer.getInteger("test.testUsers", 1) val warmUpUsers = Integer.getInteger("test.warmUpUsers", 1) val rampUpDuration = Integer.getInteger("test.rampUpDuration", 1) - val pause = Integer.getInteger("test.pause", 2) + val testPause = Integer.getInteger("test.pause", 2) val testDuration = Integer.getInteger("test.testDuration", 15) val warmUpDuration = Integer.getInteger("test.warmUpDuration", 15) diff --git a/gatling/src/test/scala/com/menelic/jwcb/gatling/RestApiSimulation.scala b/gatling/src/test/scala/com/menelic/jwcb/gatling/RestApiSimulation.scala index 116c0a6..ac9731b 100644 --- a/gatling/src/test/scala/com/menelic/jwcb/gatling/RestApiSimulation.scala +++ b/gatling/src/test/scala/com/menelic/jwcb/gatling/RestApiSimulation.scala @@ -9,7 +9,7 @@ import io.gatling.http.Predef._ class RestApiSimulation extends Simulation { val name = getClass.getSimpleName - val scn = scenario(name).pause(pause minutes).during(testDuration minutes) { + val scn = scenario(name).pause(testPause minutes).during(testDuration minutes) { exec(http(containerName) .get(apiPath)) }