hurl/bin/test/bench.sh
2023-04-09 14:03:14 +02:00

20 lines
391 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
echo "----- Bench suite -----"
# hurl infos
command -v hurl || (echo "ERROR - hurl not found" ; exit 1)
command -v hurlfmt || (echo "ERROR - hurlfmt not found" ; exit 1)
hurl --version
hurlfmt --version
# bench
pip3 install --requirement bin/requirements-frozen.txt
cd bench
python3 server.py > server.log 2>&1 &
sleep 5
netstat -anpe | grep 8000
./run.sh