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 - James Thomas using Python

James Thomas

0h 21m 9s

Go Pro

API Challenge - Logan Baber using Python

Logan Baber

0h 15m 40s

Go Pro

API Challenge - Ian Cowin using SpecFlow and RestJar

Ian Cowin

0h 9m 47s

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 - Suriya Prakash using RestAssured

Suriya Prakash

0h 22m 34s

Go Pro

API Challenge - Ioan Solderea using Postman

Ioan Solderea

0h 20m 12s

Go Pro

API Challenge - Tom Hudson using CucumberJS and Supertest

Tom Hudson

0h 21m 33s

Go Pro

API Challenge - Dave Westerveld using Postman

Dave Westerveld

0h 25m 14s

Go Pro

API Challenge - Gerard McCann using Cypress

Gerard McCann

0h 13m 15s

Go Pro

API Challenge - mabl

Troy Carter

0h 16m 17s

Go Pro

API Challenge - Jen Bauer using Postman

Jen Bauer

0h 20m 12s

Go Pro

API Challenge - Nazar Khimin using Allure

Nazar Khimin

0h 5m 1s

Go Pro

API Challenge - Eva Podbrdská using Ruby

Eva Podbrdská

0h 11m 10s

Go Pro

API Challenge - Sergei Gapanovich using Playwright

Sergei Gapanovich

0h 46m 36s

Go Pro
Ask Me Anything - Vernon Richards
Recruiting Automators with Gabbi Trotter
Test Automation Frameworks for Mobile: Detox (React Native)
Deploy Microservices Confidently Using Consumer Driven Contracts - Henrik Stene
Testing the Front-end, Back-end, and Everything in Between - Bria Grangard
Building and Implementing an API Test Solution Strategy Across a Scaling Organisation - A Journey!
Dive into the New Ministry of Testing Tools Directory
Announcing the Schedule for Test.bash();
Mabl Answers Your Questions
With a combination of SAST, SCA, and QA, we help developers identify vulnerabilities in applications and remediate them rapidly. Get your free trial today!
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.
MoT Advanced Certificate in Test Automation
Ascend to leadership roles by mastering strategic skills in automation strategy creation, planning and execution