Skip to content

Repository files navigation

Python API Automation Framework

Python Pytest Requests GitHub Actions

Python API Automation Framework

Tech Stack

  • Python
  • Pytest
  • Requests
  • JSON Schema
  • Pytest HTML
  • Logging

Features

  • GET
  • POST
  • PUT
  • DELETE
  • Reusable API Client
  • Environment Configuration
  • Request & Response Logging
  • JSON Schema Validation
  • Response Time Validation
  • HTML Reports
  • Pytest Fixtures

Run Tests

python -m pytest

Generate HTML Report

python -m pytest --html=reports/report.html

Project Structure

api/
config/
test_data/
tests/
utilities/
reports/
logs/

About

A scalable API automation testing framework built with Python, Pytest, and Requests, featuring reusable components, data-driven testing, logging, and detailed reporting.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages