API Challenge - Dave Westerveld using Postman

  • Locked
Dave Westerveld's profile
Dave Westerveld

Senior Test Analyst

API Challenge - Dave Westerveld using Postman image
Summary

Dave Westerveld solves the API challenge from Test.bash(); 2022 using Postman.

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.

Senior Test Analyst
As a skilled tester with many years of experience under my belt, I see my purpose as doing whatever it takes to help teams ship high quality products more quickly. I love the technical side of testing as expressed in scripting and test automation and I also enjoy the interpersonal side of testing in terms of coaching testers and developers on what it looks like to ship quality products. I am always learning, growing and exploring. I believe that the path to creating quality software lies in understanding the intersection of human behavior and technology and so I am student of both human psychology and nature, as well as technology and how to use it effectively. One great way to learn is to teach and so I blog at https://offbeattesting.com/ and have made a few different video courses teaching various aspects of testing. On the technology side, python is my scripting language of choice although I have dabbled in other stuff as well. I've worked on various test automation projects and also enjoy diving into databases and code reviews and sniffing around in logs and other data to see what problems I can find. On the human side, I love to help coach and teach others and I try to share my knowledge with others whenever I can. I seek to work with others on the team to find where pain points are in our process and work to remove them. I firmly believe that software development is a team sport and that delivering good quality software is only something that can be done by a well functioning team and so I invest in building and developing relationships on whatever team I am a part of.
Senior Test Analyst
As a skilled tester with many years of experience under my belt, I see my purpose as doing whatever it takes to help teams ship high quality products more quickly. I love the technical side of testing as expressed in scripting and test automation and I also enjoy the interpersonal side of testing in terms of coaching testers and developers on what it looks like to ship quality products. I am always learning, growing and exploring. I believe that the path to creating quality software lies in understanding the intersection of human behavior and technology and so I am student of both human psychology and nature, as well as technology and how to use it effectively. One great way to learn is to teach and so I blog at https://offbeattesting.com/ and have made a few different video courses teaching various aspects of testing. On the technology side, python is my scripting language of choice although I have dabbled in other stuff as well. I've worked on various test automation projects and also enjoy diving into databases and code reviews and sniffing around in logs and other data to see what problems I can find. On the human side, I love to help coach and teach others and I try to share my knowledge with others whenever I can. I seek to work with others on the team to find where pain points are in our process and work to remove them. I firmly believe that software development is a team sport and that delivering good quality software is only something that can be done by a well functioning team and so I invest in building and developing relationships on whatever team I am a part of.
Suggested Content
Tool of The Week - TestQuality image
High quality software starts with a plan. Build a solid test plan with TestQuality's FREE test plan builder then execute your plan to success with TestQuality's Unified Test Management platform.
Explore MoT
Leading with Quality image
Tue, 30 Sep
A one-day educational experience to help business lead with expanding quality engineering and testing practices.
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
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.