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

Beth Marshall, Viv Richards

0h 18m 29s

Go Pro

Experience Report: Web API Automation

Paul Farrell

0h 22m 22s

Go Pro
Explore MoT
Leading With Quality Lean Coffee image
Quality leadership conversations in a virtual lean coffee format
A Software Tester’s Guide To Chrome Devtools image
Learn how to dig deeper into the Web with the use of Devtools
This Week in Quality image
Debrief the week in Quality 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.