Summary
Jen Bauer solves the API challenge from Test.bash(); 2022 using Postman.
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:
- Create a request to log in as an admin using the Auth API and save the Cookie that comes back in
- Send a POST request to the Room API
- 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.
I am a QA Engineer and API testing enthusiast using Postman, with experience in creating automated testing solutions using Newman and Jenkins. I enjoy improving processes and making great, useful documentation for projects and products. I have also been an onboarding educator for new employees. I look forward to sharing my testing experiences with you.
At Postman, we create with the same curiosity that we see in our users. We value transparency and honest communication about not only successes, but mistakes. In our work, we focus on specific goals that add up to a larger vision. Our inclusive work culture ensures that everyone is valued equally as important pieces of our final product. We are dedicated to delivering the best products we can.
I am a QA Engineer and API testing enthusiast using Postman, with experience in creating automated testing solutions using Newman and Jenkins. I enjoy improving processes and making great, useful documentation for projects and products. I have also been an onboarding educator for new employees. I look forward to sharing my testing experiences with you.
At Postman, we create with the same curiosity that we see in our users. We value transparency and honest communication about not only successes, but mistakes. In our work, we focus on specific goals that add up to a larger vision. Our inclusive work culture ensures that everyone is valued equally as important pieces of our final product. We are dedicated to delivering the best products we can.