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

Beth Marshall, Viv Richards

0h 18m 29s

Go Pro

Experience Report: Web API Automation

Paul Farrell

0h 22m 22s

Go Pro

Experience Report: Web API Automation

Jeri Levine

0h 15m 54s

Go Pro
Learn how Ally Financial Accelerates Testing With API Simulation image
In financial services and other integration-heavy environments, testing is often blocked by API dependencies. Test data is missing; third party sandboxes are not always reliable; microservices compound the challenge.
Explore MoT
The awesome power of shifting left — Software Testing Live image
Software Testing Live: Episode 04
Automating API Checks With RestSharp image
Learn everything you need to start automating API checks using RestSharp
Leading with Quality
A one-day educational experience to help business lead with expanding quality engineering and testing practices.
This Week in Testing image
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.