Nine chapters done. You know HTTP methods. You know Postman. You know REST Assured. You know schema validation, auth testing, and framework design. Now it is time to put it all together.
This capstone chapter is different from everything before it. There are no isolated concepts to learn. You are building a complete, end-to-end API test suite — the kind you would show in an interview, push to GitHub, and put on your resume.
| API | URL | What It Offers | Best For |
|---|---|---|---|
| JSONPlaceholder | https://jsonplaceholder.typicode.com | 6 resources: posts, comments, albums, photos, todos, users. Nested routes. Filtering. | CRUD testing, relationships, schema validation |
| ReqRes.in | https://reqres.in | User CRUD with pagination. Login/Register endpoints. Delayed responses. | Auth testing, pagination, error handling, delayed response testing |
Why two APIs? Because real-world testing involves different APIs with different behaviors. JSONPlaceholder gives you clean CRUD with nested resources. ReqRes.in gives you authentication, pagination, and realistic error responses. Together, they cover every scenario you will face in production.
Both JSONPlaceholder and ReqRes.in are mock/simulated APIs. POST, PUT, DELETE requests return expected responses but do not actually modify server data. This is perfect for learning. In real projects, your tests would create real side effects.
Treat this capstone as a portfolio project. When an interviewer asks "show me your work," you open this GitHub repo. Clean code, proper assertions, schema validation, reports — all in one place. That is what gets you hired.
Q: Tell me about an API testing project you have worked on.
A: I built a complete API test suite covering two public APIs — JSONPlaceholder for CRUD and resource relationship testing, and ReqRes.in for authentication and pagination testing. On the Postman side, I created a collection with 20+ requests, wrote test scripts for every request, and ran the suite through Newman with HTML reports. On the automation side, I built a REST Assured framework with Maven, TestNG, and Allure. The framework has layered architecture — config, base, endpoints, POJOs, and tests. It includes CRUD tests, JSON schema validation, negative tests for invalid inputs, and data-driven tests using DataProvider. The full suite runs in under a minute and generates an Allure report with request/response details for every test.
Key Point: This capstone project covers two APIs (JSONPlaceholder + ReqRes.in), both Postman/Newman and REST Assured, and produces a portfolio-ready test suite you can show in interviews.