Skip to content

Commit

Permalink
Upgrade gatling version and add instructions for docker. (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjmerono authored Nov 29, 2017
1 parent 0ff0497 commit 3c8e44e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.manager
.scala_dependencies
.cache
.m2

# idea conf files
.idea
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,10 @@ Gatling return an HTML report that gives you lot of information about the stress

Please go to http://gatling.io/docs/2.2.2/general/reports.html to know more about it.

Run with docker
===============

You can run all the previous commands using maven docker image.

```docker run -it --rm --name stress -v "$PWD":/usr/stress -v "$PWD/.m2":/usr/.m2 -w /usr/stress maven:3.5.2-jdk-8-alpine mvn test -Dmaven.repo.local=/usr/.m2```

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<source.property>1.8</source.property>
<target.property>1.8</target.property>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gatling.version>2.2.4</gatling.version>
<gatling-plugin.version>${gatling.version}</gatling-plugin.version>
<gatling.version>2.3.0</gatling.version>
<gatling-plugin.version>2.2.4</gatling-plugin.version>
<scala-maven-plugin.version>3.2.2</scala-maven-plugin.version>
<properties-maven-plugin>1.0.0</properties-maven-plugin>
<!-- Common Gatling Properties -->
Expand Down

0 comments on commit 3c8e44e

Please sign in to comment.