hurl/bin/test/test_prerequisites.sh

12 lines
335 B
Bash
Raw Normal View History

2022-07-30 05:49:56 +03:00
#!/bin/sh
2022-03-10 21:42:20 +03:00
set -e
echo "----- install servers prerequisites -----"
pip3 install --requirement integration/requirements-frozen.txt
2022-03-10 21:42:20 +03:00
echo "----- start servers -----"
cd integration
python3 server.py >server.log 2>&1 &
python3 ssl/server.py >server-ssl.log 2>&1 &
mitmdump -p 8888 --modify-header "/From-Proxy/Hello" >mitmdump.log 2>&1 &