Test Overview
This test checks if a simple GET request to a public API endpoint using Postman returns a successful response. It verifies that the API is reachable and responds with status code 200.
This test checks if a simple GET request to a public API endpoint using Postman returns a successful response. It verifies that the API is reachable and responds with status code 200.
GET https://jsonplaceholder.typicode.com/posts/1 // In Postman, send the GET request and verify the response status code is 200.
| Step | Action | System State | Assertion | Result |
|---|---|---|---|---|
| 1 | Open Postman application | Postman interface is ready for creating requests | - | PASS |
| 2 | Create a new GET request to 'https://jsonplaceholder.typicode.com/posts/1' | Request tab shows the URL and GET method selected | - | PASS |
| 3 | Click the 'Send' button to execute the request | Postman sends the request to the API server | - | PASS |
| 4 | Receive response from API | Response tab shows status code 200 and JSON body with post data | Verify response status code is 200 | PASS |
| 5 | Verify response body contains expected keys like 'userId', 'id', 'title', 'body' | Response JSON is displayed with expected keys | Check presence of keys in response JSON | PASS |