Example of API Testing Framework using Python, Pytest, Pytest-BDD, Allure, and Requests. How to Build/Run locally: clone repo: git clone https://github.com/vsshk/python-pytest-pytestbdd-requests-example.git cd python-pytest-pytestbdd-requests-example In order to run you have to install Python3.6+ You need to have pip installed Getting dependencies: pip install virtualenv virtualenv venv (win) venv/Scripts/activate (mac/linux) source venv/bin/activate pip install -r requirements.txt Running Api tests: python -m pytest --alluredir=reports/ tests/test_api.py --base_url https://swapi.dev Running Smoke tests: python -m pytest --alluredir=reports/ tests/test_web_smoke.py --base_url https://swapi.dev Running all tests python -m pytest --alluredir=reports/ tests --base_url https://swapi.dev WHERE (-n 4) number of threads, (--alluredir=reports/) report directory. Please give a "star" if it helped you.