Restful Booker API Evidence

Sunday, 09 August 2026 03:22:30
Total Iterations

2

Total Assertions

88

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Restful Booker API Testing Framework
Environment: Restful Booker Local
Variable NameVariable Value
baseUrl https://restful-booker.herokuapp.com
username admin
password password123
response_time_sla_ms 5000
token bd8b923ba19dbee
booking_id 902
seed_booking_id 1
run_id 1786245748202
generated_email qa.1786245748202@example.test
Collection Description
Production-style API automation collection covering health, authentication, CRUD lifecycle, negative paths, schema checks, and CI evidence reporting for the Restful Booker public API.
Timings and Data
Total run duration: 2.5s
Total data received: 23.63KB
Average response time: 79ms
Summary Item Total Failed
Requests 26 0
Prerequest Scripts 26 0
Test Scripts 26 0
Assertions 88 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



2 Iterations available to view
Request Description
Validates the API health endpoint before deeper tests run.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/ping
Response Information
Response Code: 201 - Created
Mean time per request: 320ms
Mean size per request: 7B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
ping returns Created status 1 0 0
response time is below configured SLA 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error
Request Description
Checks the discovery endpoint and stores one seed booking ID when available.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking
Response Information
Response Code: 200 - OK
Mean time per request: 72ms
Mean size per request: 10.8KB

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
booking list responds successfully 1 0 0
response body is an array 1 0 0
booking id contract is stable when records exist 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Creates a valid token used by update and delete requests.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/auth
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 27B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
auth request succeeds 1 0 0
auth response contains token 1 0 0
token does not look like a placeholder 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Documents the API's known bad-credentials behavior without poisoning the valid token.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/auth
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 28B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
invalid auth returns handled response 1 0 0
invalid auth does not return a token 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Creates a booking from iteration data and stores the generated booking ID.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/booking
Response Information
Response Code: 200 - OK
Mean time per request: 71ms
Mean size per request: 204B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
create booking succeeds 1 0 0
create response includes booking id and booking object 1 0 0
created booking echoes submitted guest data 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Reads the booking created in the previous step and validates persistence.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/889
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 176B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
read created booking succeeds 1 0 0
created booking has expected schema 1 0 0
created booking values are persisted 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Validates authenticated PUT update behavior.
Request Information
Request Method: PUT
Request URL: https://restful-booker.herokuapp.com/booking/889
Response Information
Response Code: 200 - OK
Mean time per request: 69ms
Mean size per request: 186B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
full update succeeds 1 0 0
full update persists submitted fields 1 0 0
price and deposit data types are respected 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Validates authenticated PATCH behavior and guards against accidental data loss.
Request Information
Request Method: PATCH
Request URL: https://restful-booker.herokuapp.com/booking/889
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 191B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
partial update succeeds 1 0 0
patched field is updated 1 0 0
unpatched identity fields remain stable 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Deletes the booking created by the current iteration.
Request Information
Request Method: DELETE
Request URL: https://restful-booker.herokuapp.com/booking/889
Response Information
Response Code: 201 - Created
Mean time per request: 71ms
Mean size per request: 7B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
delete booking returns accepted deletion status 1 0 0
booking id was available before deletion 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Confirms cleanup by attempting to read the deleted booking.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/889
Response Information
Response Code: 404 - Not Found
Mean time per request: 69ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
deleted booking is not found 1 0 0
deleted booking response is intentionally empty or not found text 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Verifies query endpoint shape without assuming public test data is stable.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking?firstname=Sally
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 50B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
filtered booking query succeeds 1 0 0
filtered query returns an array contract 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Negative read check for a non-existent booking.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/999999999
Response Information
Response Code: 404 - Not Found
Mean time per request: 70ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
unknown booking id returns not found 1 0 0
unknown booking does not return JSON booking payload 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Security check proving protected mutation requires authentication.
Request Information
Request Method: PUT
Request URL: https://restful-booker.herokuapp.com/booking/1
Response Information
Response Code: 403 - Forbidden
Mean time per request: 69ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
unauthenticated update is forbidden 1 0 0
forbidden response does not expose booking data 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Validates the API health endpoint before deeper tests run.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/ping
Response Information
Response Code: 201 - Created
Mean time per request: 70ms
Mean size per request: 7B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
ping returns Created status 1 0 0
response time is below configured SLA 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error
Request Description
Checks the discovery endpoint and stores one seed booking ID when available.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 10.94KB

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
booking list responds successfully 1 0 0
response body is an array 1 0 0
booking id contract is stable when records exist 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Creates a valid token used by update and delete requests.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/auth
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 27B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
auth request succeeds 1 0 0
auth response contains token 1 0 0
token does not look like a placeholder 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Documents the API's known bad-credentials behavior without poisoning the valid token.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/auth
Response Information
Response Code: 200 - OK
Mean time per request: 69ms
Mean size per request: 28B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
invalid auth returns handled response 1 0 0
invalid auth does not return a token 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Creates a booking from iteration data and stores the generated booking ID.
Request Information
Request Method: POST
Request URL: https://restful-booker.herokuapp.com/booking
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 203B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
create booking succeeds 1 0 0
create response includes booking id and booking object 1 0 0
created booking echoes submitted guest data 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Reads the booking created in the previous step and validates persistence.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/902
Response Information
Response Code: 200 - OK
Mean time per request: 71ms
Mean size per request: 175B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
read created booking succeeds 1 0 0
created booking has expected schema 1 0 0
created booking values are persisted 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Validates authenticated PUT update behavior.
Request Information
Request Method: PUT
Request URL: https://restful-booker.herokuapp.com/booking/902
Response Information
Response Code: 200 - OK
Mean time per request: 70ms
Mean size per request: 179B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
full update succeeds 1 0 0
full update persists submitted fields 1 0 0
price and deposit data types are respected 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Validates authenticated PATCH behavior and guards against accidental data loss.
Request Information
Request Method: PATCH
Request URL: https://restful-booker.herokuapp.com/booking/902
Response Information
Response Code: 200 - OK
Mean time per request: 69ms
Mean size per request: 183B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
partial update succeeds 1 0 0
patched field is updated 1 0 0
unpatched identity fields remain stable 1 0 0
response time is below configured SLA 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
Deletes the booking created by the current iteration.
Request Information
Request Method: DELETE
Request URL: https://restful-booker.herokuapp.com/booking/902
Response Information
Response Code: 201 - Created
Mean time per request: 69ms
Mean size per request: 7B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
delete booking returns accepted deletion status 1 0 0
booking id was available before deletion 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Confirms cleanup by attempting to read the deleted booking.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/902
Response Information
Response Code: 404 - Not Found
Mean time per request: 69ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
deleted booking is not found 1 0 0
deleted booking response is intentionally empty or not found text 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Verifies query endpoint shape without assuming public test data is stable.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking?firstname=Jim
Response Information
Response Code: 200 - OK
Mean time per request: 69ms
Mean size per request: 197B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
filtered booking query succeeds 1 0 0
filtered query returns an array contract 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Negative read check for a non-existent booking.
Request Information
Request Method: GET
Request URL: https://restful-booker.herokuapp.com/booking/999999999
Response Information
Response Code: 404 - Not Found
Mean time per request: 69ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
unknown booking id returns not found 1 0 0
unknown booking does not return JSON booking payload 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Description
Security check proving protected mutation requires authentication.
Request Information
Request Method: PUT
Request URL: https://restful-booker.herokuapp.com/booking/1
Response Information
Response Code: 403 - Forbidden
Mean time per request: 70ms
Mean size per request: 9B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
unauthenticated update is forbidden 1 0 0
forbidden response does not expose booking data 1 0 0
response time is below configured SLA 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error