Automated functional test suite for the DummyJSON REST API, built using Python. Covers authentication, products, users, carts, schema validation, and performance checks.
| Module | Test Cases |
|---|---|
| Authentication โ Register & Login | TC-001 โ TC-006 |
| Products โ GET, Search, Filter, Limit | TC-007 โ TC-013 |
| Users โ GET, Schema Validation | TC-014 โ TC-016 |
| Performance, Headers & Cart Schema | TC-017 โ TC-020 |
| Total | 20 Test Cases |
api-test-automation-suite/
โโโ test_suite.py # Main test file โ 20 test cases
โโโ requirements.txt # Python dependencies
โโโ .gitignore
โโโ config/
โ โโโ config.py # Base URL, thresholds, report path
โโโ reports/
โ โโโ test_report.json # Auto-generated after each run
โโโ .github/
โโโ workflows/
โโโ test.yml # GitHub Actions CI/CD pipeline
git clone https://github.com/YOUR_USERNAME/api-test-automation-suite.git
cd api-test-automation-suite
pip install -r requirements.txt
python test_suite.py
Tests run automatically on every push and pull request, and daily at 9AM UTC. The test_report.json is uploaded as a build artifact after each run.
| Tool | Purpose |
|---|---|
| Python 3.x | Core language |
requests |
HTTP API calls |
| GitHub Actions | CI/CD automation |
| DummyJSON API | API under test |
| JSON | Report format |
