Download resume

Projects / PRJ-04

API testing

Postman API testing practice

A Postman collection of 14 requests and 29 checks for Restful Booker, with collection variables chaining token and booking id, plus one real bug report.

29 checks
14requests
29checks
28checks passing
1real bug reported
Tool
Postman
API
Restful Booker
Chaining
Token & booking id variables
Bug
500 instead of 400
Type
Learning project

What is covered

  • GET, POST, PUT, PATCH, DELETE
  • Token login and requests with and without a token (403 checks)
  • Positive and negative cases, status codes, response body checks
  • Saving values between requests with collection variables: TC02 saves the token and TC04 saves the booking id

The bug

The one failing check (TC12) is a real defect: the API answers 500 instead of 400 when required fields are missing. It is written up in the repo’s bug report.

Run it yourself

Import the collection into Postman, open it and click Run. Expected: 28 of 29 checks pass.