Add stress testing script

This commit is contained in:
Ethan Marshall 2024-01-23 00:45:46 +00:00
parent 02b09a24f9
commit eba46baded
Signed by: ejv2
GPG key ID: EC2FAEF4DB8968D8

17
stress.sh Executable file
View file

@ -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