Skip to content

Smitzel/RestAssured_BookingApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

️️ ✈️ Advanced Rest Assured Demo

Welcome to the Advanced Rest Assured Demo repository! This project showcases the advanced capabilities of Rest Assured, a powerful library for testing and validating RESTful APIs, using a (fake) booking API as an example.

🛬 Overview

This repository serves as a demonstration of how to leverage Rest Assured for complex API testing scenarios. By interacting with a fake booking API, you can explore features like request/response validation, authentication and usage of helper files.

🎯 Features

  • Advanced Request Validations: Learn how to validate JSON responses, headers, and status codes.
  • Authentication and Authorization: Demonstrates handling of API authentication mechanisms.
  • Data-Driven Testing: Example of using external data sources to drive test cases.
  • Custom Request/Response Logging: Techniques for enhanced logging and debugging.
  • Sending request using a POJO with random data.
  • TestData management
  • CRUD methods

🛫 Getting Started

To get started with this project, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Smitzel/RestAssured_BookingApi.git
    
  2. Set Up Environment:

    1. Ensure you have Java and Maven installed.
    2. Import the project into your favorite IDE.
    3. Run the tests to see Rest Assured in action

🧑‍✈️ What You Get

  • Basic setup for Rest Assured for API testing
  • Examples of GET, POST and DELETE requests to the Booking API
  • Validating JSON responses
  • CRUD methods
  • Sending request with a .csv data source

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project.

✈️ Get ready to explore the sky! If you have any questions, feel free to open an issue or reach out. Happy coding, and the sky is the limit! 🛩️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages