9 Step-by-Step Guide to Building an API Automation Framework | Requests, Pytest & Reporting

Опубликовано: 19 Февраль 2026
на канале: Prasanth Test Architect
4,373
73

In this video, I’ll walk you through how to set up a complete API automation framework from scratch using the requests library (not Python's requests) with Pytest. This guide includes:

Install command: pip3 install -r requirements.txt
GitHub: https://github.com/PrasanthLevelUp/ap...

Setting up the requirements.txt for dependency management
Writing reusable configurations in conftest.py
Customizing test runs using pytest.ini
Organizing test scripts and utilities in a structured project
Automatically generating HTML test reports for your API tests
By the end of this tutorial, you'll have a fully functional, scalable framework for API testing, perfect for both beginners and experienced testers!

#apiautomation #RequestsLibrary #PytestFramework #testautomation #softwaretesting #pythontesting #APIFramework #htmlreports #pytest #automationframework #qa #python