- Postman
- Newman (CLI)
- Restful Booker API
| Method | Endpoint | Description |
|---|---|---|
| POST | /auth | Create Token |
| GET | /booking | Get All Bookings |
| POST | /booking | Create Booking |
| GET | /booking/{id} | Get Booking by ID |
| PUT | /booking/{id} | Update Booking |
| PATCH | /booking/{id} | Partial Update |
| DELETE | /booking/{id} | Delete Booking |
npm install -g newmannewman run BOOKING.postman_collection.json -e QA_environment.json- Total Requests: 7
- Passed: 5
- Failed: 2 (405 - server limitation)
- Base URL: https://restful-booker.herokuapp.com
- Environment: QA