diff --git a/uniEmpleos/stress.yml b/uniEmpleos/stress.yml new file mode 100644 index 00000000..d997f073 --- /dev/null +++ b/uniEmpleos/stress.yml @@ -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 \ No newline at end of file