0

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.

disruptive
  • 5,687
  • 15
  • 71
  • 135
  • 1
    Does this answer your question? [What is the correct way to leave gunicorn running?](https://stackoverflow.com/questions/13654688/what-is-the-correct-way-to-leave-gunicorn-running) – matszwecja Feb 21 '23 at 13:02

0 Answers0