Skip to content

This project automates testing for the many Booking functionality of the Restful Booker API using Postman and various tools. It provides comprehensive coverage of different scenarios and validates the API's expected behavior.

Notifications You must be signed in to change notification settings

DAISY-BLOSSOM/Restful-Booker-API-testing-Using-Postman

Repository files navigation

Restful-Booker-API-testing-Using-Postman

Overview

This project focuses on API automation testing for the RESTful Booker API, available at https://restful-booker.herokuapp.com.

Table of Contents

  • Prerequisites
  • Technologies
  • Installation and Usage
  • Benefits
  • Reporting

Prerequisites:

Before running the tests, ensure that the following tools are installed:

  • Node.js
  • Postman
  • newman
  • hrmlextraReporter

Technologies:

  • Postman: Used for designing and executing API requests.
  • Collection Runner: Postman's built-in tool for running collections sequentially.
  • Newman: Command-line tool for running Postman collections from the terminal.
  • npm: Package manager for managing Node.js dependencies.
  • htmlextra: HTML reporting library for generating detailed test reports.

Installation and Usage:

  1. Clone the project repository.
  2. Install necessary dependencies: npm install.
  3. Update environment variables (e.g., base URL) in the .env file (optional).
  4. Run tests using Postman Collection Runner or npm run test.
  5. View the test report in report.html.

Benefits:

  • Improves testing efficiency and saves time.
  • Ensures consistent and reliable testing of Update Booking functionality.
  • Provides clear and readable reports for easy analysis.

Reporting

  • HTML reports for test execution can be generated using Newman and HTMLExtra. After running the tests, check the newman directory for the generated HTML reports. image

    Regards,

    Nourhan :)

About

This project automates testing for the many Booking functionality of the Restful Booker API using Postman and various tools. It provides comprehensive coverage of different scenarios and validates the API's expected behavior.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages