{"id":31644446,"url":"https://github.com/shivshanker869/dummy-employee-api-testing","last_synced_at":"2026-07-11T07:32:19.890Z","repository":{"id":311384715,"uuid":"1043545567","full_name":"Shivshanker869/Dummy-Employee-API-Testing","owner":"Shivshanker869","description":"This repository contains REST API testing for a Dummy Employee Management API using Postman and Newman.   It includes CRUD operations like Create, Read, Update, and Delete employee data.   Detailed HTML reports are generated using the Newman HTML Extra Reporter.   This project demonstrates API automation testing best practices for beginners.","archived":false,"fork":false,"pushed_at":"2025-08-24T11:54:35.000Z","size":324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T12:57:55.491Z","etag":null,"topics":["apitesting","automated-testing","newman","postman","rest-api"],"latest_commit_sha":null,"homepage":"https://dummy.restapiexample.com/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shivshanker869.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-24T05:00:41.000Z","updated_at":"2025-08-24T11:54:38.000Z","dependencies_parsed_at":"2025-08-24T12:57:59.522Z","dependency_job_id":"2fd93b1c-7d75-498c-b34d-7cbe57fc95dc","html_url":"https://github.com/Shivshanker869/Dummy-Employee-API-Testing","commit_stats":null,"previous_names":["shivshanker869/dummy-employee-api-testing"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Shivshanker869/Dummy-Employee-API-Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivshanker869%2FDummy-Employee-API-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivshanker869%2FDummy-Employee-API-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivshanker869%2FDummy-Employee-API-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivshanker869%2FDummy-Employee-API-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivshanker869","download_url":"https://codeload.github.com/Shivshanker869/Dummy-Employee-API-Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivshanker869%2FDummy-Employee-API-Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722768,"owners_count":26034461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apitesting","automated-testing","newman","postman","rest-api"],"created_at":"2025-10-07T04:52:52.933Z","updated_at":"2026-07-11T07:32:19.885Z","avatar_url":"https://github.com/Shivshanker869.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧩 Dummy Employee API Testing  \n\n![Postman](https://img.shields.io/badge/Tool-Postman-orange?logo=postman)\n![API](https://img.shields.io/badge/API-Testing-blue)\n![REST](https://img.shields.io/badge/Type-REST%20API-success)\n![Status](https://img.shields.io/badge/Status-Completed-brightgreen)\n![Platform](https://img.shields.io/badge/Platform-dummy.restapiexample.com-lightgrey)\n\n---\n\n## 🚀 Project Overview  \n**Dummy Employee API Testing** is a **Postman-based API testing project** for the public REST API – [**dummy.restapiexample.com**](https://dummy.restapiexample.com/).  \nThis project validates key RESTful endpoints using **Postman Collections** and **Environments**, covering **CRUD operations (Create, Read, Update, Delete)** for employee data.  \nIt ensures that the API functions as expected and handles valid as well as invalid requests gracefully.  \n\n---\n\n## 🧱 Tools \u0026 Technologies Used  \n| Category | Tool / Technology |\n|-----------|------------------|\n| API Testing Tool | Postman |\n| API Type | REST API |\n| Environment Setup | Postman Environment Variables |\n| Documentation | Postman Collection \u0026 JSON Export |\n| Data Format | JSON |\n| Domain | Employee Management API |\n\n---\n\n## 🎯 Testing Objectives  \n- ✅ Validate all CRUD endpoints (GET, POST, PUT, DELETE).  \n- ✅ Ensure correct response codes (200, 201, 400, 404, etc.).  \n- ✅ Verify response structure, keys, and data consistency.  \n- ✅ Use Postman Environment for parameterized testing.  \n- ✅ Automate and chain API requests using Postman variables.  \n\n---\n\n## 📁 Project Structure  \n```\nDummy-Employee-API-Testing/\n│\n├── Postman_Collection/\n│ └── DummyEmployeeAPI_Collection.json\n│\n├── Postman_Environment/\n│ └── DummyEmployeeAPI_Environment.json\n│\n├── Screenshots/\n│ ├── GetAllEmployees.png\n│ ├── CreateEmployee.png\n│ ├── UpdateEmployee.png\n│ └── DeleteEmployee.png\n│\n└── README.md\n```\n\n---\n\n## 🔍 Tested Endpoints  \n\n| HTTP Method | Endpoint | Description | Status Code |\n|--------------|-----------|--------------|--------------|\n| **GET** | `/api/v1/employees` | Retrieve all employee records | 200 |\n| **GET** | `/api/v1/employee/{id}` | Retrieve a single employee by ID | 200 / 404 |\n| **POST** | `/api/v1/create` | Create a new employee record | 201 |\n| **PUT** | `/api/v1/update/{id}` | Update an existing employee record | 200 |\n| **DELETE** | `/api/v1/delete/{id}` | Delete an employee record | 200 |\n\n---\n\n## ⚙️ How to Run the Project  \n\n### 🧩 Step 1: Import Collection \u0026 Environment  \n1. Open **Postman**.  \n2. Click on **Import → Upload Files**.  \n3. Import both:\n   - `DummyEmployeeAPI_Collection.json`  \n   - `DummyEmployeeAPI_Environment.json`  \n\n### 🧩 Step 2: Select Environment  \n1. Click on the **Environment dropdown** (top-right in Postman).  \n2. Select **DummyEmployeeAPI Environment**.  \n\n### 🧩 Step 3: Execute the Requests  \n1. Expand the collection → Click on any API (GET, POST, PUT, DELETE).  \n2. Click **Send** to execute the request.  \n3. Observe the **response body, status code**, and **response time**.  \n\n---\n\n## 🧪 Sample Test Cases  \n\n| Test Case | Method | Expected Result |\n|------------|---------|----------------|\n| Fetch all employees | GET | Returns list of employees with status 200 |\n| Fetch employee by valid ID | GET | Returns employee data with status 200 |\n| Fetch employee by invalid ID | GET | Returns error message with status 404 |\n| Create new employee | POST | Returns created employee object with status 201 |\n| Update existing employee | PUT | Returns updated details with status 200 |\n| Delete employee | DELETE | Returns success message with status 200 |\n\n---\n\n## 📊 API Response Validation  \nEach API response was validated for:  \n- 🔹 **HTTP Status Code**  \n- 🔹 **Response Time**  \n- 🔹 **Response Body Keys \u0026 Values**  \n- 🔹 **Error Handling \u0026 Messages**  \n\n---\n\n## 🧠 Key Learnings  \n- Understanding of **RESTful API architecture**.  \n- Hands-on experience with **Postman Environments and Collections**.  \n- Validation of **CRUD API workflows** and chained requests.  \n- Practice with **response assertions** and **dynamic variables**.  \n\n---\n\n## 🏁 Conclusion  \nThis **Dummy Employee API Testing** project demonstrates structured API testing using Postman.  \nIt ensures that the API endpoints are stable, consistent, and meet expected behavior under various scenarios.  \nThe project reflects a **real-world approach** to REST API validation and documentation.  \n\n---\n\n## 👤 Author  \n**Shiv Shanker Gupta**  \n💼 *QA Engineer | Manual \u0026 Automation Tester*  \n📧 *gopalgupta9639@gmail.com*  \n🌐 [GitHub Profile](https://github.com/Shivshanker869)  \n\n---\n\n## ⭐ Show Your Support  \nIf you found this project helpful, please give it a **⭐ Star** and share it with others in the QA community!  \n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivshanker869%2Fdummy-employee-api-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivshanker869%2Fdummy-employee-api-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivshanker869%2Fdummy-employee-api-testing/lists"}