From eba46baded6777cc98f2fd080fbb7713332bf133 Mon Sep 17 00:00:00 2001 From: Ethan Marshall Date: Tue, 23 Jan 2024 00:45:46 +0000 Subject: [PATCH] Add stress testing script --- stress.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 stress.sh diff --git a/stress.sh b/stress.sh new file mode 100755 index 0000000..33e0683 --- /dev/null +++ b/stress.sh @@ -0,0 +1,17 @@ +#!/bin/sh +while true +do + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + curl "localhost:8080/api" & + wait + sleep 1 +done