Skip to content

zil-codes/postman-api-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Booking API Testing with Postman & Newman

Tools Used

  • Postman
  • Newman (CLI)
  • Restful Booker API

API Endpoints Tested

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

How to Run

Install Newman

npm install -g newman

Run Collection

newman run BOOKING.postman_collection.json -e QA_environment.json

Test Results

  • Total Requests: 7
  • Passed: 5
  • Failed: 2 (405 - server limitation)

Environment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors