diff --git a/testing-modules/gatling/pom.xml b/testing-modules/gatling/pom.xml
index 10df52835a..c4aec4d61a 100644
--- a/testing-modules/gatling/pom.xml
+++ b/testing-modules/gatling/pom.xml
@@ -13,10 +13,11 @@
1.8
1.8
- 2.11.7
UTF-8
- 2.2.0
- 3.2.2
+ 2.11.12
+ 2.2.5
+ 3.2.2
+ 2.2.1
@@ -85,7 +86,7 @@
- -Ybackend:GenBCode
+
-Ydelambdafy:method
-target:jvm-1.8
-deprecation
@@ -101,7 +102,7 @@
io.gatling
gatling-maven-plugin
- ${gatling.version}
+ ${gatling-maven-plugin.version}
test
diff --git a/testing-modules/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala b/testing-modules/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala
index cdbef1bf3c..dece393478 100644
--- a/testing-modules/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala
+++ b/testing-modules/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala
@@ -9,17 +9,16 @@ import io.gatling.jdbc.Predef._
class RecordedSimulation extends Simulation {
val httpProtocol = http
- .baseURL("http://computer-database.gatling.io")
- .inferHtmlResources(BlackList(""".*\.css""", """.*\.js""", """.*\.ico"""), WhiteList())
- .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
- .acceptEncodingHeader("gzip, deflate")
- .acceptLanguageHeader("it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3")
+ .baseURL("http://computer-database.gatling.io")
+ .inferHtmlResources(BlackList(""".*\.css""", """.*\.js""", """.*\.ico"""), WhiteList())
+ .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
+ .acceptEncodingHeader("gzip, deflate")
+ .acceptLanguageHeader("it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3")
.userAgentHeader("Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0")
-
val scn = scenario("RecordedSimulation")
.exec(http("request_0")
.get("/"))
@@ -43,4 +42,4 @@ class RecordedSimulation extends Simulation {
.get("/computers?p=3"))
setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
-}
+}