Skip to content

QAmangesh/Dummy-JSON-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DummyJSON API Test Cases

A structured collection of API test cases for the DummyJSON REST API, covering authentication, products, carts, and users.

📋 Overview

This repository contains manual API test cases organized across two sheets: DummyJSON_API_TestCases :— High-level test scenarios (30 cases) covering all major modules Sheet1 :— Detailed test cases with step-by-step inputs, expected/actual response codes, result messages, and pass/fail status

Base URL :- https://dummyjson.com

🗂️ Modules Covered

Module Description
Login Authentication with valid/invalid/blank credentials
Products CRUD operations, search, pagination, schema validation
Cart Get, add, update, delete carts; user-specific cart tests
Users Fetch all users, get by ID, invalid ID handling
Headers Content-Type verification
Status Code HTTP response code validation
Validation Special characters, null values, edge cases
Schema Response schema validation
Negative Unsupported HTTP methods

defects found

The following test cases currently have a Fail status and may indicate API bugs or test configuration issues :

Test Case Endpoint Issue
API_002_02 GET /products Product count not displayed in response
API_002_07 POST /products/add Product not added (got 404, expected 200)
API_002_09 PUT /products/1 Product not updated (got 404, expected 200)

Tools Used

API Testing Tool :- Postman (or compatible REST client) API Source :- DummyJSON — a free fake REST API for testing

How to Use

  1. Open API_DummyJSON_Test_Cases.xlsx to view all test cases.
  2. Use the Base URL https://dummyjson.com with the endpoints listed in each test case.
  3. Execute requests using Postman or any API client.
  4. Compare actual response codes and messages against the expected values in the sheet.
  5. Update the Status and Actual Result columns after execution.

📊 Test Summary

Status Count
✅ Pass 26
❌ Fail 3
📝 Total 29

About

This project demonstrates API testing using the Dummy JSON REST API. It includes testing of various endpoints such as GET, POST, PUT, and DELETE requests, along with response validation, status code verification, response time checks, and JSON schema validation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors