A modular and scalable API Automation Testing Framework built using Python, Pytest, Requests, and JSON Schema Validation.
This framework demonstrates clean architecture, reusable components, and real-world API testing patterns used in SDET roles.
- ✅ Modular API Client (GET, POST, PUT, DELETE)
- ✅ Centralized Endpoint Management
- ✅ Custom Assertions Layer
- ✅ JSON Schema Validation (Contract Testing)
- ✅ Fast & Clean Pytest Test Suite
- ✅ Response Time Validation
- ✅ Environment-Based Configuration
- ✅ Developer-Friendly Structure
- ✅ CI/CD Ready
API_testing_framework/ │ ├── core/ │ ├── api_client.py # Handles HTTP Requests │ ├── endpoints.py # Stores API Endpoints │ ├── assertions.py # Custom Assertions │ └── config.py # Base URLs, Environment Configs │ ├── tests/ │ ├── test_auth_api.py # Authentication API Tests │ ├── test_users_api.py # User API Tests + Schema Validation │ ├── requirements.txt # Dependencies ├── README.md # Documentation └── .gitignore
- Python
- Pytest
- Requests
- JSONSchema
- Git & GitHub
- VS Code / PyCharm
git clone https://github.com/AyushiiDhiman/api-testing-framework.git
cd api-testing-framework
❤️ Author
Ayushi Dhiman