Skip to content

nikitadQA/API_DUMMYJSON

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

Note: Summary is based on Sheet1 detailed test cases with recorded results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors