Add stress testing script
This commit is contained in:
parent
02b09a24f9
commit
eba46baded
1 changed files with 17 additions and 0 deletions
17
stress.sh
Executable file
17
stress.sh
Executable 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
|
Loading…
Reference in a new issue