Web API - Automation

Richard Bradshaw's profile
Richard Bradshaw

Challenge Description

Application

The application for this challenge is Restful Booker Platform. More about the application is available here. You can also ask questions related to the application there.

The Challenges:

Complete these challenges using any tooling of your choice.

Beginner:

Perform a GET request on the branding API and assert the response.

Intermediate:

Create a new Room using the Rom API and assert it was successfully created. Tip, you’ll need to also need to prove you are authenticated by calling the Auth API and saving the token!

Advanced:

Create a solution/framework that allows you to test all the APIs. You’ll need to include tests for:

  • Branding: GET, PUT
  • Room: GET, PUT, POST, DELETE
  • Booking: GET, PUT, POST, DELETE
  • Auth: POST. Login, logout, validate
  • Report: GET
  • Messaging: GET, POST,

Bonus, test that you can mark a message as read.

What you’ll learn
  • Created API automated tests

Resources

More info on this Club thread.

Community Solutions

Experience Report: Web API Automation

Jeri Levine

0h 15m 54s

Go Pro

Experience Report: Web API Automation

Paul Farrell

0h 22m 22s

Go Pro

Experience Report: Web API Automation

Beth Marshall, Viv Richards

0h 18m 29s

Go Pro
Next Level API Automation
Moving from Gui to Api Testing: Challenges Faced & Lessons Learnt
30 Days of Automation in Testing
The 3rd episode of The Testing Planet, The Toolsmith will be all about, yes you guessed it: tools 😉
Explore MoT
TestBash Brighton 2024
Thu, 12 Sep 2024, 9:00 AM
We’re shaking things up and bringing TestBash back to Brighton on September 12th and 13th, 2024.
Automating API Checks With RestSharp
Learn everything you need to start automating API checks using RestSharp