I want to create a test script that pings a stood-up flask API. The issue I am having is that I cannot make the bash script treat the flask API as a separate process and then in the next step send something to the API. So for example:
gunicorn --bind 0.0.0.0:8080 src:app &
sh test_script.sh
where the first line fires up the app and the second is the test suite.