Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gat1 zz #1

Open
wants to merge 96 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
3fde1d4
Upgrade to 2M3a
Sep 11, 2013
2194cce
Fix for 2M3a
Sep 27, 2013
9d94265
Fix samples for 2M3a
Sep 27, 2013
4895f3b
Fix test data and relax assertions, close #2
Sep 30, 2013
71bebe2
Upgrade demo for 2.0.0-RC1
Aug 2, 2014
81e7713
invalid comment
Aug 2, 2014
a8a315b
Use right package name in log config
mstahv Aug 25, 2014
c5ba129
Merge pull request #5 from mstahv/master
nremond Aug 25, 2014
c8b8d36
update version to RC2
mstahv Aug 26, 2014
4036627
Merge pull request #6 from mstahv/master
nremond Aug 26, 2014
709eabc
Upgrade to Gatling 2.0.1
Oct 14, 2014
c659363
clean up
Oct 14, 2014
3e4d2c5
Have different versions for gatling and plugin
Oct 20, 2014
03681ff
Update Gatling.conf to latest
rohan25 Oct 22, 2014
4ba90dc
Merge pull request #8 from rohan25/master
Oct 23, 2014
e42853c
Upgrade for 2.0.3
Dec 1, 2014
decbd0d
Upgrade demo for 2.2.0-SNAPSHOT
slandelle Apr 2, 2015
e1e08e5
use test goal
slandelle Apr 17, 2015
d4fa76d
writers is an array
slandelle Apr 17, 2015
88416fc
Use Gatling 2.1.5
pdalpra Apr 22, 2015
894c8ea
Target 2.1.6
slandelle May 10, 2015
a6630fb
Update gatling.conf
slandelle May 10, 2015
107a763
Move sample url
slandelle May 20, 2015
9ab2bb9
Add scala-maven-plugin and launchers
slandelle Jul 8, 2015
fa32302
Upgrade Gatling 2.1.7
slandelle Aug 11, 2015
40145dc
Upgrade for 2.2.0
slandelle Apr 14, 2016
e5654ce
Upgrade for gatling 2.2.2
slandelle Jun 17, 2016
8eaa330
Update sample: such Content-Type is automatically generated
slandelle Jun 20, 2016
b4e6e59
Enforce JDK8
slandelle Jun 21, 2016
0951ec2
rename request-bodies dir into bodies
slandelle Jul 26, 2016
375bbc2
Fix getPath on Windows
slandelle Jul 26, 2016
1110d98
Align with archetype
slandelle Jul 26, 2016
5935e17
Adapt props default values to sbt project
slandelle Sep 12, 2016
b253e95
Upgrade demo for 2.2.3
slandelle Nov 9, 2016
efeeb26
Proper maven.compiler prop names
slandelle Feb 6, 2017
6f7d410
Fix immediateFlush location in logback 1.2
slandelle Feb 16, 2017
dacee30
Upgrade demo for 2.2.4
slandelle Mar 9, 2017
b30c1b9
Upgrade gatling 2.2.5
slandelle Apr 20, 2017
f968700
Simplify IDEPathHelper
slandelle Jun 30, 2017
4b3915a
Fix `immediateFlush` location to be compatible with logback 1.1, see …
slandelle Jul 20, 2017
514fe12
Removing obsolete parameters and adding the correct one under ahc.
Aug 11, 2017
59ed0a5
Merge pull request #12 from dsr2016/keepalive
slandelle Aug 11, 2017
10d5093
Upgrade gatling 2.3.0
slandelle Aug 30, 2017
f2e42cd
Clean up maven conf
slandelle Oct 5, 2017
62cc1e2
Upgrade scala-maven-plugin 3.3.1
slandelle Oct 17, 2017
cd3f9d0
Upgrade gatling 2.3.1
slandelle Mar 6, 2018
0f74203
Upgrade scala-maven-plugin 3.3.2
slandelle Mar 19, 2018
8056f66
Update for Gatling 3.0.0-RC2
slandelle Sep 25, 2018
bf4a45f
Fix debugging logger, see gatling/gatling#3538
slandelle Sep 26, 2018
c6d371a
nit
slandelle Sep 26, 2018
8c5ae49
Upgrade Gatling 3.0.0-RC3
slandelle Oct 2, 2018
aef4a7c
Upgrade gatling 3.0.0-RC4
slandelle Oct 10, 2018
7a84e16
Upgrade scala-maven-plugin 3.4.2
slandelle Oct 23, 2018
6e6573a
Upgrade gatling 3.0.0
slandelle Oct 23, 2018
21bbd4d
Upgrade scala-maven-plugin 3.4.4
slandelle Nov 5, 2018
bb36fea
Upgrade gatling-maven-plugin 3.0.1
slandelle Nov 18, 2018
4a0a053
Upgrade gatling 3.0.1
slandelle Nov 19, 2018
621bd4f
Upgrade gatling 3.0.1.1
slandelle Dec 6, 2018
dd65aef
Release 3.0.2
slandelle Dec 19, 2018
895a4c2
Release 3.0.3
slandelle Jan 24, 2019
23bc475
No need for scala-maven-plugin
slandelle Feb 26, 2019
b5a0789
Release 3.1.0.1
slandelle Apr 15, 2019
76d1af2
Upgrade gatling 3.1.1
slandelle Apr 16, 2019
e9a2fcb
Upgrade Gatling 3.1.2
slandelle May 14, 2019
3467ad3
Release 3.1.3
slandelle Jun 24, 2019
db3d25f
fix pom for IntelliJ
slandelle Jun 27, 2019
4239dc0
force scala-maven-plugin compiler options
slandelle Jun 27, 2019
5e72e20
Revert to scala-maven-plugin 4.0.2 as 4.1.0 crashed on 32 bits
slandelle Jun 28, 2019
a36897b
Upgrade Gatling 3.2.0
slandelle Jul 22, 2019
046ea2d
Release 3.2.1
slandelle Aug 26, 2019
dc97d3d
Upgrade scala-maven-plugin 4.2.0
slandelle Oct 3, 2019
04de3e4
Force maven-jar-plugin version as old version breaks zinc
slandelle Oct 17, 2019
ed6a69c
Upgrade scala-maven-plugin 4.2.4
slandelle Oct 17, 2019
4bf85fb
Upgrade gatling-maven-plugin 3.0.4
slandelle Oct 22, 2019
1b92656
Upgrade gatling 3.3.0
slandelle Oct 23, 2019
b4960a5
Release 3.3.1
slandelle Nov 7, 2019
008dc5b
Change groupId so default package doesn't clash with imports
slandelle Nov 26, 2019
ea9621f
nit
slandelle Dec 11, 2019
9496c95
Drop PathHelper usage in IDEPathHelper
slandelle Dec 16, 2019
8ff5b3b
Drop gatling-akka.conf, internal
slandelle Dec 17, 2019
e56f305
Upgrade scala-maven-plugin 4.3.1
slandelle Jan 18, 2020
ff04868
Upgrade scala-maven-plugin 4.4.0
slandelle Jul 12, 2020
1dbff39
Release 3.4.0
slandelle Sep 21, 2020
b39e517
Update gatling.conf
slandelle Oct 2, 2020
160117b
Release 3.4.1
slandelle Oct 13, 2020
33b07eb
Release 3.4.2
slandelle Nov 23, 2020
601eff4
Upgrade Gatling 3.5.0
slandelle Dec 16, 2020
910fc9e
Don't use postfixOps
slandelle Dec 16, 2020
4c80e60
Upgrade Gatling 3.5.1
slandelle Jan 31, 2021
952e95f
enable GitHub Actions CI
sullis Feb 7, 2021
417e165
Merge pull request #17 from sullis/gha-ci
slandelle Feb 8, 2021
ba42112
Upgrade gatling-maven-plugin 3.1.2
slandelle Feb 13, 2021
d507369
Upgrade Gatling 3.6.0
slandelle May 20, 2021
3b51ef2
Upgrade Gatling 3.6.1
slandelle Jul 6, 2021
78968db
mark 1
ibmerzuo Aug 25, 2021
064997f
更改
ibmerzuo Mar 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
strategy:
matrix:
java: [ '8', '11', '15' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: mvn --no-transfer-progress -B clean test
43 changes: 29 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
*.class
*.log

# sbt specific
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/
cache/

# Scala-IDE specific
.scala_dependencies
# eclipse conf file
.settings
.classpath
.project
.manager
.scala_dependencies
.cache

# idea conf files
.idea
*.iml
*.ipr
*.iws

# building
target
build
null
tmp
temp
dist
test-output
build.log

# misc
.DS_Store

# project files to ignore
!/results/.gitkeep
3 changes: 3 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: Engine

8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ gatling-maven-plugin-demo

Simple showcase of a maven project using the gatling-maven-plugin.

To test it out, simply execute the following command :
To test it out, simply execute the following command:

$mvn gatling:execute -Dgatling.simulationClass=basic.BasicExampleSimulation
$mvn gatling:test -Dgatling.simulationClass=computerdatabase.BasicSimulation

or simply:

$mvn gatling:test
Binary file not shown.
127 changes: 62 additions & 65 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,71 +1,68 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin-demo</artifactId>
<version>2.0.0-M1</version>
<packaging>jar</packaging>
<groupId>io.gatling.demo</groupId>
<artifactId>gatling-maven-plugin-demo</artifactId>
<version>3.6.1</version>

<repositories>
<repository>
<id>excilys</id>
<name>Excilys Repository</name>
<url>http://repository.excilys.com/content/groups/public</url>
</repository>
</repositories>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gatling.version>${project.version}</gatling.version>
<gatling-maven-plugin.version>3.1.2</gatling-maven-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<scala-maven-plugin.version>4.4.1</scala-maven-plugin.version>
</properties>

<pluginRepositories>
<pluginRepository>
<id>excilys</id>
<name>Excilys Repository</name>
<url>http://repository.excilys.com/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>io.gatling.highcharts</groupId>
<artifactId>gatling-charts-highcharts</artifactId>
<version>${gatling.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gatling.version>2.0.0-M1</gatling.version>
</properties>

<dependencies>
<dependency>
<groupId>io.gatling.highcharts</groupId>
<artifactId>gatling-charts-highcharts</artifactId>
<version>${gatling.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<!-- Default values -->
<!--<configDir>src/test/resources</configDir>
<dataFolder>src/test/resources/data</dataFolder>
<resultsFolder>target/gatling/results</resultsFolder>
<requestBodiesFolder>src/test/resources/request-bodies</requestBodiesFolder>
<simulationsFolder>src/test/scala</simulationsFolder>
<includes>
<include>**/*.scala</include>
</includes>-->
<excludes>
<exclude>advanced/*.scala</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<jvmArgs>
<jvmArg>-Xss100M</jvmArg>
</jvmArgs>
<args>
<arg>-target:jvm-1.8</arg>
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-unchecked</arg>
<arg>-language:implicitConversions</arg>
<arg>-language:postfixOps</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-maven-plugin.version}</version>
</plugin>
</plugins>
</build>
</project>
9 changes: 0 additions & 9 deletions src/test/resources/application.conf

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/resources/data/user_credentials.csv

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/resources/data/user_information.csv

This file was deleted.

Loading