■ API Testing Learning Plan (4 Weeks)
■ Week 1: API Basics + Postman Introduction
Goal: Understand APIs & start manual testing.
• Day 1–2: What is API, client-server architecture, HTTP basics (methods, headers, body,
params, status codes). Practice: Explore https://reqres.in in browser.
• Day 3–4: Install & explore Postman, send GET, POST, PUT, DELETE requests. Practice:
ReqRes APIs → /users, /login.
• Day 5–6: Learn Query Params & Path Params in Postman, add Headers & Body (JSON/XML).
Practice: RESTful Booker → create booking, update booking.
• Day 7: Write basic Postman tests (status code, response body contains field). Example:
pm.test("Status code is 200", function () { pm.response.to.have.status(200); });
■ Week 2: Postman Advanced + Start Automation with Rest
Assured
Goal: Get comfortable with advanced Postman & begin automation.
• Day 8–9: Learn Postman variables, environments, and collections.
• Day 10–11: Work with Postman scripts (pre-request scripts, chaining requests).
• Day 12–13: Learn authentication types: Basic Auth, Bearer Token. Practice on RESTful
Booker.
• Day 14: Setup Maven project with Rest Assured. Write your first GET & POST request test in
Java.
■ Week 3: Rest Assured Automation
Goal: Build automation skills with Rest Assured.
• Day 15–16: Write tests for GET, POST, PUT, DELETE using Rest Assured.
• Day 17–18: Validate status codes, headers, and JSON response fields with Hamcrest
matchers.
• Day 19–20: Extract data using JSONPath and reuse it in other requests.
• Day 21: Integrate Rest Assured tests with TestNG for execution & reporting.
■ Week 4: Advanced API Testing + Real-Time Scenarios
Goal: Master advanced topics & real-world use cases.
• Day 22–23: Learn OAuth 2.0 authentication & implement in tests.
• Day 24–25: Perform data-driven testing using external JSON/Excel files.
• Day 26: Use JSON Schema Validation for response validation.
• Day 27–28: Automate real-time workflow (create user → update user → delete user).
• Day 29–30: Integrate API tests into CI/CD (Jenkins/GitHub Actions) & generate reports using
Allure/ExtentReports.