-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from markalbrand56/jime
Create stress.yml
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
config: | ||
# This is a test server run by team Artillery | ||
# It's designed to be highly scalable | ||
target: https://sage-palmier-936be2.netlify.app/ | ||
phases: | ||
- duration: 60 | ||
arrivalRate: 5 | ||
rampTo: 10 | ||
name: Warm up the API | ||
- duration: 60 | ||
arrivalRate: 10 | ||
rampTo: 50 | ||
name: Ramp up to peak load | ||
- duration: 300 | ||
arrivalRate: 50 | ||
name: Sustained peak load | ||
# Load & configure a couple of useful plugins | ||
# https://docs.art/reference/extensions | ||
plugins: | ||
ensure: {} | ||
apdex: {} | ||
metrics-by-endpoint: {} | ||
apdex: | ||
threshold: 100 | ||
ensure: | ||
thresholds: | ||
- http.response_time.p99: 100 | ||
- http.response_time.p95: 75 | ||
scenarios: | ||
- flow: | ||
- loop: | ||
- get: | ||
url: "/" | ||
- get: | ||
url: "/login" | ||
- get: | ||
url: "/signup" | ||
count: 100 |