A structured collection of API test cases for the DummyJSON REST API, covering authentication, products, carts, and users.
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
| 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 |
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) |
API Testing Tool :- Postman (or compatible REST client) API Source :- DummyJSON β a free fake REST API for testing
- Open
API_DummyJSON_Test_Cases.xlsxto view all test cases. - Use the Base URL
https://dummyjson.comwith the endpoints listed in each test case. - Execute requests using Postman or any API client.
- Compare actual response codes and messages against the expected values in the sheet.
- Update the Status and Actual Result columns after execution.
| Status | Count |
|---|---|
| β Pass | 26 |
| β Fail | 3 |
| π Total | 29 |
Note: Summary is based on Sheet1 detailed test cases with recorded results.