Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ updates:
interval: weekly
commit-message:
prefix: ci
- package-ecosystem: maven
directory: /gatling
schedule:
interval: weekly
commit-message:
prefix: ci
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
- name: Lint Code Base
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
FILTER_REGEX_EXCLUDE: .*gatling/mvnw.*
VALIDATE_CHECKOV: false
VALIDATE_GITLEAKS: false
VALIDATE_GO: false
Expand Down
6 changes: 3 additions & 3 deletions docs/hub/load-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ To test your own infrastructure, we provide a [Gatling](https://gatling.io)-base

## Running the Load Test

1. Download [Gatling version 3](https://gatling.io/open-source/)
2. Clone the Mercure repository: `git clone https://github.com/dunglas/mercure`
3. Run `path/to/gatling/bin/gatling.sh --simulations-folder mercure/gatling/`
1. Clone the Mercure repository: `git clone https://github.com/dunglas/mercure`
2. Go to the `gatling` directory: `cd gatling`
3. Run `./mvnw gatling:test`

## Configuration

Expand Down
2 changes: 2 additions & 0 deletions gatling/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[**]
ignore = true
2 changes: 2 additions & 0 deletions gatling/.gatling/package.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# See https://github.com/gatling/gatling-maven-plugin-demo-scala/blob/main/.gatling/example.package.conf for a full deployment configuration file example
# Learn more about Configuration as Code: https://docs.gatling.io/reference/execute/cloud/user/configuration-as-code
2 changes: 2 additions & 0 deletions gatling/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/.mvn/wrapper/*.jar
18 changes: 18 additions & 0 deletions gatling/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
308 changes: 308 additions & 0 deletions gatling/mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading