API Challenge - Jaswanth Manigundan using Pact

  • Locked
Jaswanth Manigundan's profile
Jaswanth Manigundan

Staff Quality Coach, Culture Amp

API Challenge - Jaswanth Manigundan using Pact image
Summary

Jaswanth Manigundan solves the API challenge from Test.bash(); 2022 using Pact.

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.

Jaswanth Manigundan's profile'

Jaswanth Manigundan

Staff Quality Coach, Culture Amp

I’m Jas from Melbourne. I currently work at Culture Amp as a Staff Quality Coach, specialising in test automation and testability. I have worked in the mobile app development space for almost a decade, where I saw mobile devices and operating systems get better and better by the day. My fascination towards mobile devices made me start my professional career as a mobile app developer. But my quest to build better apps and write code that is much more testable lead me to transition into a test automation engineer specialising in mobile. Since then, I’ve gradually explored a wide variety of test automation frameworks and have consulted for some of the leading software teams in Australia to build efficient test automation suites for both mobile and web apps. I have spoken about my test automation journey in a variety of testing conferences like the Ministry of Testing’s Testbashes, Automation Guild (by TestGuild) and Saucelabs’ Saucecon. I now work at Culture Amp alongside the legendary Anne-Marie Charrett helping build a passionate quality enablement team. I currently work with test automation frameworks (functionality, contract and load) for APIs, web apps, micro-services and event sourced systems. Latest obsession… Observability within test frameworks.
Suggested Content
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 Foundation Certificate in Test Automation
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise