mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-14 09:23:38 +03:00
20 lines
401 B
Bash
Executable File
20 lines
401 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
|
|
python3 -m pip install --requirement bin/requirements-frozen.txt
|
|
cd bench
|
|
python3 server.py > server.log 2>&1 &
|
|
sleep 5
|
|
netstat -anpe | grep 8000
|
|
./run.sh
|
|
|