Skip to content

manishasapra/APITestFrameworkforBookingPlatform

Repository files navigation

API Automation Framework

📌 Project Overview

This is an API Automation Framework built using Rest Assured, Java, JUnit 5, and Maven. The framework automates API testing for the Restful Booker API. It covers a range of HTTP methods, including GET, POST, PUT, and DELETE, using the Page Object Model (POM) for better maintainability and scalability of the tests.

Tech Stack

  • Java - Programming language
  • RestAssured - API testing library
  • JUnit 5 - Test execution framework
  • Maven - Dependency management
  • POJO (Plain Old Java Object) - Data modeling for requests and responses
  • Page Object Model (POM) - Design pattern for organizing tests
  • Extent Reports – For detailed and interactive test reporting

Features

  • ✅ Automates API tests for Restful Booker API
  • ✅ Supports GET, POST, PUT, and DELETE requests
  • ✅ Uses POJO classes for request and response data handling
  • ✅ Uses Rest Assured for API testing and validation
  • ✅ Includes Extent Reports for visually rich and customizable test execution reports
  • ✅ Implements Page Object Model (POM) for better test maintainability
  • ✅ Provides a token-based authentication mechanism for secure requests
  • ✅ Can be run locally via IntelliJ IDEA or from the command line using Maven

API endpoints

-This framework automates the following API operations for Restful Booker:

  • Create Booking - POST /booking
  • Get Booking - GET /booking/{id}
  • Update Booking - PUT /booking/{id}
  • Delete Booking - DELETE /booking/{id}

About

Perform CRUD operations on Restful Booker API using Java, Rest Assured, and POM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors