Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛒 E-commerce API Testing Framework

A scalable and production-style API automation testing framework built using Python, Requests, and Pytest.

This project simulates real-world API testing scenarios for an e-commerce system, covering core business flows such as login, add products, and checkout.

It is designed with modular architecture and reusable components to support maintainability and scalability in real QA environments.


🚀 Features

  • REST API testing using Python Requests
  • Pytest framework with fixtures
  • Token-based authentication handling
  • Modular API layer design
  • Reusable request utilities
  • Data-driven testing support (JSON)

🧠 Tech Stack

  • Python
  • Pytest
  • Requests
  • JSON

🔑 Test Scenarios

🔐 Authentication API

  • ✅ Valid login
  • ❌ Invalid credentials
  • ❌ Missing fields

📦 Products API

  • ✅ Get all products
  • ❌ Invalid endpoint handling

🛒 Cart API

  • ✅ Authorized access with token
  • ❌ Unauthorized access

⚙️ Installation

git clone https://github.com/qingqing-QA/api-testing-framework.git
cd api-testing-framework
pip install -r requirements.txt

About

API test automation framework using Python, Pytest, and Requests with authentication, modular design, and CI-ready structure.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages