FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Swayam04600/DummyJSON-API-Testing-Postman: End-to-End REST API Testing Project using Postman including authentication, authorization, CRUD operations, automated token handling, and validation tests. · GitHub

Repository files navigation

DummyJSON E-commerce Backend API Testing (Postman)

📌 Project Overview

This project demonstrates end-to-end REST API testing of an e-commerce backend using Postman.

The goal of the project is to simulate the real responsibilities of a QA / Backend Tester including authentication handling, request chaining, CRUD validation, automated assertions, and execution of a full API test suite.

The APIs are tested against the public DummyJSON REST service.


🧰 Tools & Technologies

  • Postman
  • REST API
  • JavaScript (Postman Test Scripts)
  • JSON
  • GitHub

🧪 Testing Areas Covered

  • Environment variables & parameterization
  • Authentication (JWT token handling)
  • Authorization testing (protected endpoints)
  • CRUD Operations (Create, Read, Update, Delete)
  • Automated response validation
  • Status code verification
  • Negative testing
  • Edge case testing
  • Security testing
  • JSON Schema validation
  • Request chaining (dynamic data passing)
  • Collection Runner execution (automation)

🔐 Authentication Testing

Login using valid credentials and capture access token.


🔑 Token Handling & Authorization

Token dynamically saved into environment and used to access protected endpoint /auth/me.


🌐 Environment Configuration

Base URL and token handled using Postman environment variables.


📥 GET Requests (Data Retrieval)

Fetching records from the backend server.


✔️ Response Validation (Assertions)

Automated test scripts verifying response status and data.


➕ Create Resource (POST)

Creating a new resource via API.


✏️ Update Resource (PUT/PATCH)

Updating server data.


❌ Delete Resource (DELETE)

Deleting a record from backend.


🚫 Negative Testing

Login with invalid credentials and validation of error response.


🧱 Schema Validation

Verification of response JSON structure.


🔒 Security Testing

Unauthorized access blocked (401 response).


⚠️ Edge Case Testing

Testing non-existing resources (404 response).


▶️ Collection Runner (Automation Execution)

Execution of complete API suite using Postman Runner.


🚀 How to Run the Project

  1. Clone or download this repository
  2. Import collection.json into Postman
  3. Import environment.json
  4. Select the environment in Postman
  5. Run the Login request first
  6. Run the complete collection using Collection Runner

📚 Learning Outcomes

Through this project I learned:

  • Real-world API testing workflow
  • Handling authorization tokens
  • Writing automated API test scripts
  • Using environment variables and dynamic data
  • Backend validation and error handling
  • Running automated API test suites

👨‍💻 Author

Swayam Uniyal

Aspiring QA Engineer | API Testing | Manual Testing | Automation (Learning)

About

End-to-End REST API Testing Project using Postman including authentication, authorization, CRUD operations, automated token handling, and validation tests.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors


Back | FazBrowse Home | New Git URL