From dd371c5404e45b422072037d9470b82a20a72024 Mon Sep 17 00:00:00 2001 From: Hassy Veldstra Date: Tue, 1 Oct 2024 09:25:18 +0000 Subject: [PATCH] feat: add Artillery scripts --- config.yml | 8 ++++++++ scenarios/armadillo.yml | 4 ++++ scenarios/dino.yml | 4 ++++ scenarios/pony.yml | 4 ++++ 4 files changed, 20 insertions(+) create mode 100644 config.yml create mode 100644 scenarios/armadillo.yml create mode 100644 scenarios/dino.yml create mode 100644 scenarios/pony.yml diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..fe5d333 --- /dev/null +++ b/config.yml @@ -0,0 +1,8 @@ +config: + target: "http://asciiart.artillery.io:8080" + phases: + - duration: 30 + arrivalRate: 1 + plugins: + metrics-by-endpoint: {} + diff --git a/scenarios/armadillo.yml b/scenarios/armadillo.yml new file mode 100644 index 0000000..4ec0b25 --- /dev/null +++ b/scenarios/armadillo.yml @@ -0,0 +1,4 @@ +scenarios: + - flow: + - get: + url: /armadillo diff --git a/scenarios/dino.yml b/scenarios/dino.yml new file mode 100644 index 0000000..913dd0d --- /dev/null +++ b/scenarios/dino.yml @@ -0,0 +1,4 @@ +scenarios: + - flow: + - get: + url: /dino diff --git a/scenarios/pony.yml b/scenarios/pony.yml new file mode 100644 index 0000000..d2827fe --- /dev/null +++ b/scenarios/pony.yml @@ -0,0 +1,4 @@ +scenarios: + - flow: + - get: + url: /pony