API Automation Challenge

Mark Winteringham's profile
Mark Winteringham

Tester, Toolsmith, Author and Instructor

Challenge Description

For this challenge, we’ll be using restful-booker-platform which can be found here: https://automationintesting.online/ to see demonstrations of API automation tools that can chain requests and assert HTTP responses. We’d like to see how far you got with solving the challenge, what you liked about the tooling you used, and what you disliked.

Instructions

Using an API automation tool that you think the community would be interested in, show us how you would mitigate the following risk:

The Room API is unable to create rooms

If you had to build automation to confirm the Room API is able to create a room, how would you do it?

Example:

One example of mitigating this risk might be to use Postman to:

  1. Create a request to log in as an admin using the Auth API and save the Cookie that comes back in
  2. Send a POST request to the Room API
  3. Assert that the room has been created and contains expected room details using the Test tab

Tip: Check out the Postman collection for Restful-Booker-Platform to get started with its APIs www.postman.com/automation-in-testing will grant you access to the Auth Swagger documentation.

What you’ll learn
  • Demonstrate an API automation testing tool

Resources

Community Solutions

API Challenge - Logan Baber using Python

Logan Baber

0h 15m 40s

Go Pro

API Challenge - Tom Hudson using CucumberJS and Supertest

Tom Hudson

0h 21m 33s

Go Pro

API Challenge - mabl

Troy Carter

0h 16m 17s

Go Pro

API Challenge - Suriya Prakash using RestAssured

Suriya Prakash

0h 22m 34s

Go Pro

API Challenge - Trisha Chetani using Postman

Trisha Chetani

0h 8m 28s

Go Pro

API Challenge - Jaswanth Manigundan using Pact

Jaswanth Manigundan

0h 16m 11s

Go Pro

API Challenge - Dave Westerveld using Postman

Dave Westerveld

0h 25m 14s

Go Pro

API Challenge - James Thomas using Python

James Thomas

0h 21m 9s

Go Pro

API Challenge - Sergei Gapanovich using Playwright

Sergei Gapanovich

0h 46m 36s

Go Pro

API Challenge - Nazar Khimin using Allure

Nazar Khimin

0h 5m 1s

Go Pro

API Challenge - Ioan Solderea using Postman

Ioan Solderea

0h 20m 12s

Go Pro

API Challenge - Ian Cowin using SpecFlow and RestJar

Ian Cowin

0h 9m 47s

Go Pro

API Challenge - Gerard McCann using Cypress

Gerard McCann

0h 13m 15s

Go Pro

API Challenge - Jen Bauer using Postman

Jen Bauer

0h 20m 12s

Go Pro

API Challenge - Eva Podbrdská using Ruby

Eva Podbrdská

0h 11m 10s

Go Pro
Tool of The Week: WonderProxy image
Localization testing with confidence Combine a global network with flexible testing tools to see what your website looks like to customers around the world
Explore MoT
Castelo Branco Meetup image
Tue, 6 May
The Future of Testing in an Automated World: Embracing Continuous Learning and A
MoT Intermediate Certificate in Test Automation image
Elevate to senior test automation roles with mastery in automated checks, insightful reporting, and framework maintenance
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.