Newman Run Dashboard

Saturday, 25 July 2026 14:49:40
Total Iterations

1

Total Assertions

48

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Sprint_09_End_to_End_API_Integration_Testing
Collection Description
# Sprint 09 – End-to-End API Integration Testing ## Sprint Goal The goal of this sprint is to verify the complete booking lifecycle by executing an end-to-end integration workflow across multiple Restful Booker API endpoints. This sprint focuses on validating API integration, authentication, request chaining, data consistency, CRUD operations, resource lifecycle management, workflow continuity, response validation, error handling, and ensuring that each API endpoint functions correctly as part of a complete business process. --- # Collection Workflow ## Plain Text ``` text GET /ping ↓ POST /auth ↓ POST /booking ↓ GET /booking/{{bookingid}} ↓ PUT /booking/{{bookingid}} ↓ PATCH /booking/{{bookingid}} ↓ DELETE /booking/{{bookingid}} ↓ GET /booking/{{bookingid}} ``` --- # Learning Objectives During this sprint I learned: - End-to-End API Testing - API Integration Testing - Complete CRUD Workflow Validation - Authentication Testing - Authorization Validation - Resource Lifecycle Validation - Data Consistency Validation - Collection Variables - Request Chaining - REST API Status Code Validation - Positive API Testing - Negative API Testing - Advanced JavaScript Assertions - Collection Runner Execution - Automated Test Validation - Recording Test Execution Results - API Response Validation - Bug Reporting - Using Git for Version Control --- # Collection Scope ## APIs Covered ``` text GET /ping POST /auth POST /booking GET /booking/{id} PUT /booking/{id} PATCH /booking/{id} DELETE /booking/{id} GET /booking/{id} ``` --- # Workflow Validation The collection validates the complete booking lifecycle by verifying: - API availability - Authentication - Booking creation - Booking retrieval - Complete booking update (PUT) - Partial booking update (PATCH) - Booking deletion - Verification that the deleted booking no longer exists - Request chaining using Collection Variables - End-to-End workflow execution using Collection Runner --- # Test Scenarios - ✅ Verify complete booking lifecycle - ✅ Verify authentication before protected operations - ✅ Verify deleted booking cannot be retrieved - ✅ Verify workflow data consistency - ✅ Verify repeated workflow execution - ✅ Verify CRUD operation sequence - ✅ Verify request chaining using Collection Variables - ✅ Verify end-to-end workflow execution --- # Collection Variables ``` text username password token bookingid firstname lastname totalprice depositpaid checkin checkout additionalneeds update_firstname update_lastname update_totalprice update_depositpaid update_checkin update_checkout update_additionalneeds patch_firstname patch_additionalneeds ``` --- # Expected Deliverables - ✅ End-to-End Postman Collection - ✅ Automated Postman Tests - ✅ Collection Variables - ✅ Request Chaining - ✅ CRUD Workflow Validation - ✅ Authentication Validation - ✅ Resource Lifecycle Validation - ✅ Data Consistency Validation - ✅ Collection Runner Execution - ✅ Test Execution Evidence - ✅ Updated Project Documentation - ✅ Git Commit - ✅ GitHub Push --- # Sprint Status | Task | Status | | --- | --- | | Create Collection | ✅ Completed | | Configure Variables | ✅ Completed | | Build Workflow | ✅ Completed | | Configure Authentication | ✅ Completed | | Implement Request Chaining | ✅ Completed | | Write Postman Tests | ✅ Completed | | Execute End-to-End Workflow | ✅ Completed | | Validate CRUD Operations | ✅ Completed | | Validate Data Consistency | ✅ Completed | | Validate Authentication | ✅ Completed | | Validate Resource Lifecycle | ✅ Completed | | Validate Error Handling | ✅ Completed | | Capture Evidence | ✅ Completed | | Create Bug Reports | ✅ Completed (None Required) | | Update Documentation | ✅ Completed | | Git Commit | ✅ Completed | | GitHub Push | ✅ Completed | --- # Execution Summary | Metric | Result | | --- | --- | | Workflow Scenarios | 8 | | Workflow Test Cases | 8 | | Requests Executed | 8 | | Requests Passed | 8 | | Requests Failed | 0 | | Blocked | 0 | | Total Assertions | 48 | | Assertions Passed | 48 | | Assertions Failed | 0 | | Pass Rate | **100%** | | Bugs Reported | 0 | --- # Evidence ``` text 10_Test_Evidence/ └── Sprint_09_End_to_End/ ├── 01_GET_Ping.png ├── 02_POST_Auth.png ├── 03_POST_Create_Booking.png ├── 04_GET_Booking.png ├── 05_PUT_Update_Booking.png ├── 06_PATCH_Partial_Update.png ├── 07_DELETE_Booking.png ├── 08_GET_Deleted_Booking.png └── 09_Run_Result.png ``` --- # Sprint Outcome The complete Postman collection was successfully executed using **Collection Runner**, validating the entire booking lifecycle from authentication through resource deletion. All requests completed successfully in the correct sequence without manual intervention. The workflow confirmed successful authentication, booking creation, retrieval, full update, partial update, deletion, and verification that the deleted resource returned **HTTP 404 Not Found**. Request chaining was implemented using Collection Variables, enabling seamless data sharing between requests throughout the workflow. A total of **8 requests** and **48 automated assertions** were executed with a **100% pass rate**. No unexpected API behavior, server-side errors, or functional defects were observed during execution. --- # Notes Sprint 09 represents the successful completion of the **Restful Booker API Testing Project** by integrating every previously tested endpoint into a single automated end-to-end workflow. Unlike previous sprints, which validated individual endpoints independently, this sprint demonstrates how multiple REST API endpoints interact as part of a complete business process. The workflow verifies API availability, authenticates the user, creates a booking, retrieves the created resource, performs both full and partial updates, deletes the booking, and confirms successful deletion by validating the expected **HTTP 404 Not Found** response. Special emphasis was placed on API integration, authentication, request chaining using Collection Variables, CRUD workflow validation, data consistency, automated JavaScript assertions, response validation, resource lifecycle management, Collection Runner execution, and professional documentation. Successful completion of Sprint 09 demonstrates the ability to design, execute, automate, validate, and document a complete API integration workflow following industry-standard QA and API testing practices using Postman.
Timings and Data
Total run duration: 5.5s
Total data received: 766B
Average response time: 608ms
Summary Item Total Failed
Requests 8 0
Prerequest Scripts 8 0
Test Scripts 16 0
Assertions 48 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



1 Iteration available to view
Request Description
# Request 01 – Health Check ## Purpose Verify that the Restful Booker API is online and responding before executing the end-to-end workflow. This request acts as a prerequisite for all subsequent requests in the collection. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Health Check | | Method | GET | | Endpoint | `/ping` | | Authentication | None | | Headers | None | | Request Body | None | --- # Full URL ``` text https://restful-booker.herokuapp.com/ping ``` --- # Expected Response ## Status Code ``` text 201 Created ``` ## Response Body ``` text Created ``` ## Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify the API is reachable. - Verify the endpoint returns HTTP 201. - Verify the response body equals "Created". - Verify the response time is acceptable. - Verify no unexpected server errors occur. --- # Postman Tests Validate: - Status Code = 201 - Response Time < 5000 ms - Response Body = "Created" --- # Expected Result The Health Check endpoint responds successfully, confirming that the API is available and ready for execution of the remaining end-to-end workflow.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/ping
Response Information
Response Code: 201 - Created
Mean time per request: 2.9s
Mean size per request: 7B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 74ed37af-ebfa-463e-9c2b-6f61f3a21e35
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 7
Content-Type text/plain; charset=utf-8
Date Sat, 25 Jul 2026 12:49:37 GMT
Etag W/"7-rM9AyJuqT6iOan/xHh+AW+7K/T8"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Cvipy3rVBDFNXJj%2B1s4b2uNA9qZrUg8tFBXyYbzBnM4%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983777"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=Cvipy3rVBDFNXJj%2B1s4b2uNA9qZrUg8tFBXyYbzBnM4%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983777"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
Created
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Response time is less than 5000 ms 1 0 0
Response body equals 'Created' 1 0 0
Response body is not empty 1 0 0
Health Check completed successfully 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 02 – Authentication ## Purpose Generate a valid authentication token that will be used to authorize all protected requests during the end-to-end workflow. The authentication token is stored as a Postman collection variable and reused by subsequent requests requiring authorization. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Authentication | | Method | POST | | Endpoint | `/auth` | | Authentication | None | | Headers | Content-Type: application/json | | Request Body | JSON | --- # Full URL ``` text https://restful-booker.herokuapp.com/auth ``` --- # Headers | Key | Value | | --- | --- | | Content-Type | application/json | --- # Request Body ``` json { "username": "admin", "password": "password123" } ``` --- # Expected Response ## Status Code ``` text 200 OK ``` ## Response Body ``` json { "token": "abc123..." } ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify authentication succeeds. - Verify HTTP status code is 200. - Verify the response contains a token. - Verify the token is not empty. - Store the token in the collection variable `token`. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 200 - Response Time < 5000 ms - Response contains token - Token is not empty - Save token to collection variables --- # Expected Result A valid authentication token is returned by the API and stored for use in all subsequent authenticated requests within the workflow.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/auth
Response Information
Response Code: 200 - OK
Mean time per request: 274ms
Mean size per request: 27B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token e3c5d17f-7d1a-4f83-a24f-e14c7bf08fa7
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 61
Request Body
{
            "username": "admin",
            "password": "password123"
        }
Response Headers
Header NameHeader Value
Content-Length 27
Content-Type application/json; charset=utf-8
Date Sat, 25 Jul 2026 12:49:37 GMT
Etag W/"1b-dUKDoe2ggvUv7m2Ul97aCQ/wztU"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Cvipy3rVBDFNXJj%2B1s4b2uNA9qZrUg8tFBXyYbzBnM4%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983777"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=Cvipy3rVBDFNXJj%2B1s4b2uNA9qZrUg8tFBXyYbzBnM4%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983777"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
{"token":"d97eb7091e824e0"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 5000 ms 1 0 0
Response contains authentication token 1 0 0
Authentication token is not empty 1 0 0
Authentication token saved successfully 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 03 – Create Booking ## Purpose Create a new booking using valid booking details and verify that the booking is successfully created. The generated **booking ID** is stored as a Postman collection variable and used throughout the remaining end-to-end workflow. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Create Booking | | Method | POST | | Endpoint | `/booking` | | Authentication | None | | Headers | Content-Type: application/json | | Request Body | JSON | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking ``` --- # Headers | Key | Value | | --- | --- | | Content-Type | application/json | --- # Request Body ``` json { "firstname": "John", "lastname": "Smith", "totalprice": 150, "depositpaid": true, "bookingdates": { "checkin": "2026-08-01", "checkout": "2026-08-05" }, "additionalneeds": "Breakfast" } ``` --- # Expected Response ## Status Code ``` text 200 OK ``` ## Response Body ``` json { "bookingid": 1234, "booking": { "firstname": "John", "lastname": "Smith", "totalprice": 150, "depositpaid": true, "bookingdates": { "checkin": "2026-08-01", "checkout": "2026-08-05" }, "additionalneeds": "Breakfast" } } ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify booking creation succeeds. - Verify HTTP status code is 200. - Verify response contains a booking ID. - Verify booking ID is valid. - Verify booking data matches the submitted request. - Store the booking ID in the collection variable `bookingid`. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 200 - Response Time < 5000 ms - Response contains bookingid - Booking ID is valid - Booking data matches request - Save bookingid to collection variables --- # Expected Result A new booking is successfully created, and the generated booking ID is stored for use in subsequent requests during the end-to-end workflow.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/booking
Response Information
Response Code: 200 - OK
Mean time per request: 272ms
Mean size per request: 198B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token ae862bd0-a589-4742-8e58-d4d76d144878
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 241
Request Body
{
            "firstname": "John",
            "lastname": "Smith",
            "totalprice": 150,
            "depositpaid": true,
            "bookingdates": {
                "checkin": "2026-08-01",
                "checkout": "2026-08-05"
            },
            "additionalneeds": "Breakfast"
        }
Response Headers
Header NameHeader Value
Content-Length 198
Content-Type application/json; charset=utf-8
Date Sat, 25 Jul 2026 12:49:38 GMT
Etag W/"c6-vkl4JEyFuqkYLG1m+QbZlgMiBfw"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983778"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983778"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
{"bookingid":9929,"booking":{"firstname":"John","lastname":"Smith","totalprice":150,"depositpaid":true,"bookingdates":{"checkin":"2026-08-01","checkout":"2026-08-05"},"additionalneeds":"Breakfast"}}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 5000 ms 1 0 0
Response contains booking ID 1 0 0
Booking ID is a positive number 1 0 0
Booking data matches request 1 0 0
Booking ID saved successfully 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 04 – Get Created Booking ## Purpose Retrieve the booking created in the previous request and verify that all booking information has been stored correctly. The request uses the booking ID saved during the Create Booking request. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Get Created Booking | | Method | GET | | Endpoint | `/booking/9929` | | Authentication | None | | Headers | None | | Request Body | None | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking/9929 ``` --- # Expected Response ## Status Code ``` text 200 OK ``` ## Response Body ``` json { "firstname": "John", "lastname": "Smith", "totalprice": 150, "depositpaid": true, "bookingdates": { "checkin": "2026-08-01", "checkout": "2026-08-05" }, "additionalneeds": "Breakfast" } ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify booking retrieval succeeds. - Verify HTTP status code is 200. - Verify the returned booking matches the created booking. - Verify all booking fields contain the expected values. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 200 - Response Time < 5000 ms - First Name - Last Name - Total Price - Deposit Paid - Check-in Date - Check-out Date - Additional Needs --- # Expected Result The booking is successfully retrieved using the stored booking ID, and all returned booking details exactly match the data submitted during booking creation.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/9929
Response Information
Response Code: 200 - OK
Mean time per request: 273ms
Mean size per request: 169B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token b26ce64d-48f2-4683-8d29-e085764a1253
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 169
Content-Type application/json; charset=utf-8
Date Sat, 25 Jul 2026 12:49:38 GMT
Etag W/"a9-SoO64wdqS6/VqlonMLb+TfIJxCo"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983778"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983778"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
{"firstname":"John","lastname":"Smith","totalprice":150,"depositpaid":true,"bookingdates":{"checkin":"2026-08-01","checkout":"2026-08-05"},"additionalneeds":"Breakfast"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 5000 ms 1 0 0
Content-Type is application/json 1 0 0
Booking ID is a valid positive number 1 0 0
Booking data matches expected values 1 0 0
Response contains required fields 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 05 – Update Booking (PUT) ## Purpose Perform a complete update of the existing booking using valid data and verify that all booking information is successfully replaced. This request uses the booking ID generated during the Create Booking request and the authentication token generated during the Authentication request. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Update Booking | | Method | PUT | | Endpoint | `/booking/9929` | | Authentication | Cookie Token | | Headers | Content-Type: application/json <br>Cookie: token=d97eb7091e824e0 | | Request Body | JSON | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking/9929 ``` --- # Headers | Key | Value | | --- | --- | | Content-Type | application/json | | Cookie | token=d97eb7091e824e0 | --- # Request Body ``` json { "firstname": "Michael", "lastname": "Johnson", "totalprice": 250, "depositpaid": false, "bookingdates": { "checkin": "2026-09-10", "checkout": "2026-09-20" }, "additionalneeds": "Dinner" } ``` --- # Expected Response ## Status Code ``` text 200 OK ``` ## Response Body ``` json { "firstname": "Michael", "lastname": "Johnson", "totalprice": 250, "depositpaid": false, "bookingdates": { "checkin": "2026-09-10", "checkout": "2026-09-20" }, "additionalneeds": "Dinner" } ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify authentication is successful. - Verify booking is updated successfully. - Verify HTTP status code is 200. - Verify all booking fields contain the updated values. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 200 - Response Time < 5000 ms - First Name - Last Name - Total Price - Deposit Paid - Check-in Date - Check-out Date - Additional Needs --- # Expected Result The booking is successfully updated, and every field reflects the new values provided in the request body.
Request Information
Request Method: PUT
Request URL: https://restful-booker.herokuapp.com/booking/9929
Response Information
Response Code: 200 - OK
Mean time per request: 272ms
Mean size per request: 172B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Cookie token=d97eb7091e824e0
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 6bb7113e-1e9b-48cb-b56d-b9e6645ebeed
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 244
Request Body
{
            "firstname": "Michael",
            "lastname": "Michael",
            "totalprice": 250,
            "depositpaid": false,
            "bookingdates": {
                "checkin": "2026-09-10",
                "checkout": "2026-09-20"
            },
            "additionalneeds": "Dinner"
        }
Response Headers
Header NameHeader Value
Content-Length 172
Content-Type application/json; charset=utf-8
Date Sat, 25 Jul 2026 12:49:38 GMT
Etag W/"ac-PWhxQazYVKhR7pBkyi3xus/23fs"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983778"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=Jr99%2FMUCP6T5LFVL04ENWl9%2FHDMXTYIMJ4ECE1qNzsM%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983778"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
{"firstname":"Michael","lastname":"Michael","totalprice":250,"depositpaid":false,"bookingdates":{"checkin":"2026-09-10","checkout":"2026-09-20"},"additionalneeds":"Dinner"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 5000 ms 1 0 0
Content-Type is application/json 1 0 0
Updated booking data matches expected values 1 0 0
Response contains required fields 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 06 – Partial Update Booking (PATCH) ## Purpose Perform a partial update of an existing booking and verify that only the specified fields are modified while all other booking information remains unchanged. This request uses the booking ID generated during the Create Booking request and the authentication token generated during the Authentication request. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Partial Update Booking | | Method | PATCH | | Endpoint | `/booking/9929` | | Authentication | Cookie Token | | Headers | Content-Type: application/json <br>Cookie: token=d97eb7091e824e0 | | Request Body | JSON | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking/9929 ``` --- # Headers | Key | Value | | --- | --- | | Content-Type | application/json | | Cookie | token=d97eb7091e824e0 | --- # Request Body ``` json { "firstname": "David", "additionalneeds": "Late Checkout" } ``` --- # Expected Response ## Status Code ``` text 200 OK ``` ## Response Body ``` json { "firstname": "David", "lastname": "Johnson", "totalprice": 250, "depositpaid": false, "bookingdates": { "checkin": "2026-09-10", "checkout": "2026-09-20" }, "additionalneeds": "Late Checkout" } ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify authentication succeeds. - Verify partial update succeeds. - Verify HTTP status code is 200. - Verify only the specified fields are updated. - Verify unchanged fields retain their previous values. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 200 - Response Time < 5000 ms - Updated First Name - Updated Additional Needs - Unchanged Last Name - Unchanged Total Price - Unchanged Deposit Paid - Unchanged Check-in Date - Unchanged Check-out Date --- # Expected Result The specified fields are updated successfully, while all unspecified fields remain unchanged, confirming correct PATCH operation behavior.
Request Information
Request Method: PATCH
Request URL: https://restful-booker.herokuapp.com/booking/9929
Response Information
Response Code: 200 - OK
Mean time per request: 269ms
Mean size per request: 177B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Cookie token=d97eb7091e824e0
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 59323d98-bab1-439e-981e-3b9cc3bbc79c
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 71
Request Body
{
            "firstname": "David",
            "additionalneeds": "Late Checkout"
        }
Response Headers
Header NameHeader Value
Content-Length 177
Content-Type application/json; charset=utf-8
Date Sat, 25 Jul 2026 12:49:39 GMT
Etag W/"b1-V4cxqo+S0rMBHMNctcgWtY5TV9A"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983779"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983779"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
{"firstname":"David","lastname":"Michael","totalprice":250,"depositpaid":false,"bookingdates":{"checkin":"2026-09-10","checkout":"2026-09-20"},"additionalneeds":"Late Checkout"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 5000 ms 1 0 0
Content-Type is application/json 1 0 0
First name updated successfully 1 0 0
Additional needs updated successfully 1 0 0
Last name remains unchanged 1 0 0
Total price remains unchanged 1 0 0
Deposit paid remains unchanged 1 0 0
Check-in remains unchanged 1 0 0
Check-out remains unchanged 1 0 0
Response contains all required fields 1 0 0
Total 11 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 07 – Delete Booking ## Purpose Delete the existing booking created during the end-to-end workflow and verify that the booking is successfully removed from the system. This request uses the booking ID generated during the Create Booking request and the authentication token generated during the Authentication request. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Delete Booking | | Method | DELETE | | Endpoint | `/booking/9929` | | Authentication | Cookie Token | | Headers | Cookie: token=d97eb7091e824e0 | | Request Body | None | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking/9929 ``` --- # Headers | Key | Value | | --- | --- | | Cookie | token=d97eb7091e824e0 | --- # Expected Response ## Status Code ``` text 201 Created ``` ## Response Body ``` text Created ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify authentication succeeds. - Verify booking deletion succeeds. - Verify HTTP status code is 201. - Verify response body equals "Created". - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 201 - Response Time < 5000 ms - Response Body = "Created" - Response Body is not empty --- # Expected Result The booking is successfully deleted and is no longer available within the Restful Booker API.
Request Information
Request Method: DELETE
Request URL: https://restful-booker.herokuapp.com/booking/9929
Response Information
Response Code: 201 - Created
Mean time per request: 276ms
Mean size per request: 7B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Cookie token=d97eb7091e824e0
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 63a83e9d-f10c-49dc-8e11-6dbd0c73468e
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 7
Content-Type text/plain; charset=utf-8
Date Sat, 25 Jul 2026 12:49:39 GMT
Etag W/"7-rM9AyJuqT6iOan/xHh+AW+7K/T8"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983779"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983779"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
Created
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Response time is less than 5000 ms 1 0 0
Response body equals 'Created' 1 0 0
Response body is not empty 1 0 0
Booking deleted successfully 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Description
# Request 08 – Verify Booking Deleted ## Purpose Verify that the booking deleted in the previous request is no longer accessible by attempting to retrieve it using its booking ID. This request confirms the successful completion of the resource lifecycle and validates that the API correctly returns a **404 Not Found** response for a deleted resource. --- # Request Configuration | Property | Value | | --- | --- | | Request Name | Verify Booking Deleted | | Method | GET | | Endpoint | `/booking/9929` | | Authentication | None | | Headers | None | | Request Body | None | --- # Full URL ``` text https://restful-booker.herokuapp.com/booking/9929 ``` --- # Expected Response ## Status Code ``` text 404 Not Found ``` ## Response Body ``` text Not Found ``` --- # Response Time ``` text Less than 5000 ms ``` --- # Validation Objectives - Verify the deleted booking cannot be retrieved. - Verify HTTP status code is 404. - Verify the API correctly reports that the resource no longer exists. - Verify response time is acceptable. --- # Postman Tests Validate: - Status Code = 404 - Response Time < 5000 ms - Resource no longer exists --- # Expected Result The API returns **404 Not Found**, confirming that the booking has been permanently deleted and is no longer accessible.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/9929
Response Information
Response Code: 404 - Not Found
Mean time per request: 271ms
Mean size per request: 9B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 3013c275-a595-42ab-b5d7-4ed76391c102
Host restful-booker.herokuapp.com
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Length 9
Content-Type text/plain; charset=utf-8
Date Sat, 25 Jul 2026 12:49:39 GMT
Etag W/"9-0gXL1ngzMqISxa6S1zx3F4wtLyg"
Nel {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
Report-To {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\u0026ts=1784983779"}],"max_age":3600}
Reporting-Endpoints heroku-nel="https://nel.heroku.com/reports?s=0hWMWMsGtldwh9SMVzzk6Vmo95o5gwVcWAiRX%2B8yWrk%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1784983779"
Server Heroku
Via 1.1 heroku-router
X-Powered-By Express
Response Body
Not Found
Test Information
NamePassedFailedSkipped
Status code is 404 1 0 0
Response time is less than 5000 ms 1 0 0
Deleted booking is no longer accessible 1 0 0
Response body indicates resource not found 1 0 0
End-to-End workflow completed successfully 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error