Booking Management - API Test Cases
Booking Management - API Test Cases
{
"firstname": "Sally",
"lastname": "Brown",
"totalprice": 111,
"depositpaid": true,
Response Verify response format "bookingdates": {
"checkin": "2013-02-23",
"checkout": "2014-10-23"
},
"additionalneeds":
"Breakfast"
}
Verify that the first name is correct - Frist name type is string
format and as same as the request - First name is the same as first
body name on request body
Accept
Delete a booking
Sending request with bookingID in BookingID: - Status code: 400 Bad request
string type - thkksdfskf - It shows error message
- ksgd%%%%jhsfd 'BookingID must be in number'
Need to confirm
- Status: 403 forbidden with BA/dev
Sending request with an expired Cookie: token={expired access token} - It shows meaningfull error lead about
token after xxx minutes message duration of a
session