An open API service indexing awesome lists of open source software.

https://github.com/dominikclk/restful-booker-api-tests

Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore.
https://github.com/dominikclk/restful-booker-api-tests

Last synced: 3 months ago
JSON representation

Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore.

Awesome Lists containing this project

README

        





# ⚡️Restful-Booker-API-Tests

## 🔍 Overview
Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore. The API comes pre-loaded with 10 records for you to work with and resets itself every 10 minutes back to that default state. Restful-booker also comes with detailed API documentation to help get you started with your API testing straight away.

- As part of checking my practical skills in API testing, I tested one of the endpoints. There is an exposed API for testing training purposes at https://restful-booker.herokuapp.com/.
Documentation can be found at: https://restful-booker.herokuapp.com/apidoc/index.html. Using the API and documentation, I conducted tests and prepared a report for enpoint: UpdateBooking ( https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-UpdateBooking )

- I used the Postman to carry out the tests and prepare the report.

## 📊 Testware

- API (UpdateBooking endpoint) Documentation: https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-UpdateBooking
- Collection file with requests (Postman) [Collection](https://github.com/DominikCLK/Restful-Booker-API-Tests/files/14298612/Restful-Booker.postman_collection.QA.Dominik.Calak.json) <-- file to download
- Environment file with variables (Postman) [Environment variables](https://github.com/DominikCLK/Restful-Booker-API-Tests/files/14298626/Restful-Booker-TEST.postman_environment.Dominik.Calak.QA.json) <-- file to download
- UpdateBooking Endpoint test report [Report](https://github.com/DominikCLK/Restful-Booker-API-Tests/blob/main/REPORT.md) <- link to Test Report

## 🛠️ How setup collection?

1. Download [Collection](https://github.com/DominikCLK/Restful-Booker-API-Tests/files/14298612/Restful-Booker.postman_collection.QA.Dominik.Calak.json) file and [Environment variables](https://github.com/DominikCLK/Restful-Booker-API-Tests/files/14298626/Restful-Booker-TEST.postman_environment.Dominik.Calak.QA.json) file
2. Open Postman
- Import collection file
![2024-02-15_16h37_45](https://github.com/DominikCLK/Restful-Booker-API-Tests/assets/75272795/6792acc7-a48d-48b9-b122-da2575e2a6aa)
- Drop collection file
![2024-02-15_16h38_39](https://github.com/DominikCLK/Restful-Booker-API-Tests/assets/75272795/f29b24ab-9627-4f98-b2b9-aca1786f913a)
- The collection is loaded but notice that the baseURL is not available. In the next step, download the file with environment variables
![2024-02-15_16h41_34](https://github.com/DominikCLK/Restful-Booker-API-Tests/assets/75272795/5e7a0682-5c98-4c66-b186-8a97ba1ea0fb)
- Drop enviroment file
- Change enviroment to Restful-Booker-TEST
![2024-02-15_16h50_22](https://github.com/DominikCLK/Restful-Booker-API-Tests/assets/75272795/ebddcc56-a84f-485b-876c-786ec2a212fe)
- Collection is ready to test. Notice that baseURL is avaiable, Auth request works
![2024-02-15_16h55_43](https://github.com/DominikCLK/Restful-Booker-API-Tests/assets/75272795/fd644109-56bb-4a18-a0fd-181303839864)

## Author

- [@DominikCLK](https://github.com/DominikCLK)