diff --git a/java-perf-workshop-tester/pom.xml b/java-perf-workshop-tester/pom.xml index 2489d13..5cf06f9 100644 --- a/java-perf-workshop-tester/pom.xml +++ b/java-perf-workshop-tester/pom.xml @@ -16,31 +16,6 @@ UTF-8 - - - - io.gatling - gatling-app - ${gatling.version} - - - io.gatling - gatling-recorder - ${gatling.version} - - - io.gatling.highcharts - gatling-charts-highcharts - ${gatling.version} - - - org.scala-lang - scala-library - ${scala.version} - - - - io.gatling.highcharts @@ -62,20 +37,6 @@ src/test/scala - - - - net.alchim31.maven - scala-maven-plugin - ${scala-maven-plugin.version} - - - io.gatling - gatling-maven-plugin - ${gatling-maven-plugin.version} - - - net.alchim31.maven diff --git a/part_2/README.md b/part_2/README.md index 2eb3d21..f23657a 100644 --- a/part_2/README.md +++ b/part_2/README.md @@ -127,11 +127,17 @@ loadtest -n 1000 -c 15 "http://localhost:8080/search?q=a" Alternatively, you can use [gatling](https://gatling.io/) (a performance library with a scala dsl ). -Navigate to the `java-perf-workshop-tester` directory and run `mvn gatling:test`. This should launch the `WorkshopSimulation`. +:warning: **This should be run from the `java-perf-workshop-tester` directory** + +This should launch the `WorkshopSimulation`. + +```bash +mvn gatling:test +``` Sample output while running: ```bash -$ mvn gatling:test +[~/java-perf-workshop/java-perf-workshop-tester]$ mvn gatling:test [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ diff --git a/pom.xml b/pom.xml index 1c040f1..2ec5b29 100644 --- a/pom.xml +++ b/pom.xml @@ -23,9 +23,11 @@ 2.3.0 + 2.12.3 + + 3.2.2 2.2.4 - 2.12.3 ${scm.connection} @@ -44,6 +46,15 @@ -6 + + AnEmortalKid + Jan Monterrubio + janmonterrubio@gmail.com + http://github.com/anemortalkid + + developer + + java-perf-workshop-server @@ -106,14 +117,52 @@ junit-dep 4.10 + + io.gatling + gatling-app + ${gatling.version} + + + io.gatling + gatling-recorder + ${gatling.version} + + + io.gatling.highcharts + gatling-charts-highcharts + ${gatling.version} + + + org.scala-lang + scala-library + ${scala.version} + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + + io.gatling + gatling-maven-plugin + ${gatling-maven-plugin.version} + + + net.alchim31.maven + scala-maven-plugin + ${scala-maven-plugin.version} + + + org.apache.maven.plugins maven-compiler-plugin - 2.3.2 true true @@ -123,4 +172,4 @@ - \ No newline at end of file +