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.
- 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
- ✅ 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
-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}