Last active
January 30, 2023 21:45
-
-
Save ArCiGo/1e791a302b1938b3459540f2a5cd3e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
# the URL that is going to be tested | |
target: "<yourMockServerURL>" | |
plugins: | |
expect: {} | |
phases: | |
# the time that the phase will last, in seconds | |
- duration: 1 | |
# number of petitions per second during the defined duration | |
arrivalRate: 1 | |
name: "Phase 1" | |
defaults: | |
headers: | |
Content-type: application/json | |
scenarios: | |
- flow: | |
# getting all users | |
- get: | |
url: "/users" | |
expect: | |
- statusCode: 200 | |
- contentType: json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment