Skip to content

Latest commit

Β 

History

History
120 lines (90 loc) Β· 2.55 KB

File metadata and controls

120 lines (90 loc) Β· 2.55 KB

FakeStore API Testing (Postman)

This repository contains a manual API testing project for the Fake Store API, created as part of a QA portfolio.
The project demonstrates API testing using Postman, including positive and negative scenarios, test cases, and documented bugs.


πŸ“Œ Project Scope

The following API modules were tested:

  • Authentication
  • Products
  • Carts
  • Users

Testing includes:

  • Positive test cases
  • Negative test cases
  • Validation of response status codes and response bodies

πŸ§ͺ Tools Used

  • Postman (API testing and test scripts)
  • Git / GitHub

πŸ“ Project Structure

fakestore-api-testing-postman/
β”‚
β”œβ”€β”€ bug-reports/
β”‚   β”œβ”€β”€ bug-001.md
β”‚   └── bug-002.md
β”‚
β”œβ”€β”€ screenshots/
β”‚   β”œβ”€β”€ bug-001/
β”‚   β”‚   β”œβ”€β”€ bug-001-documentation.png
β”‚   β”‚   └── bug-001-postman.png
β”‚   └── bug-002/
β”‚       β”œβ”€β”€ bug-002-documentation.png
β”‚       └── bug-002-postman.png
β”‚
β”œβ”€β”€ collections/
β”‚   └── fakestore-api-testing.postman_collection.json
β”‚
β”œβ”€β”€ environments/
β”‚   └── FakeStore env.postman_environment.json
β”‚
β”œβ”€β”€ test-cases/
β”‚   └── test-cases.md
β”‚
└── README.md

πŸ“¬ API Requests Covered

Authentication

  • Login with valid credentials
  • Login without required fields (negative case)

Products

  • Get all products
  • Get single product by ID
  • Create a new product
  • Update a product
  • Delete a product
  • Get non-existent product (negative case)

Carts

  • Get all carts
  • Create a new cart

Users

  • Get all users

🧾 Test Cases

All test cases are documented in markdown format.

Each test case includes:

  • Test case ID
  • Description
  • Preconditions
  • Steps
  • Expected result

🐞 Bug Reports

Two defects were identified during testing and documented:

  1. BUG-001: Login returns 201 instead of 200
  2. BUG-002: Non-existent product returns 200 instead of 400

Each bug report contains:

  • Summary
  • Environment
  • Steps to reproduce
  • Expected result
  • Actual result
  • Screenshots

Screenshots are stored in the screenshots directory.


▢️ How to Run the Tests

  1. Import the Postman collection from collections
  2. Import the environment from environments
  3. Select the imported environment in Postman
  4. Run requests individually or use Collection Runner