Five Ways to Automate API Testing with Postman
Number of APIs: 5
Quick Start
- Fork the collection - Fork the collection to your own workspace so you can begin to edit and update your work.
- Select the first folder - Begin with the first folder (or choose your own adventure), and expand the documentation from the context bar on the right. Instructions for each lesson will be in the documentation for each folder.
View slides from apidays Paris workshop 📚
-
Using the Runner-Linear Execution - Create a new book POST {{baseUrl}}/books/
-
Using the Runner-Non-Linear Execution - Get current weather GET https://api.open-meteo.com/v1/forecast?latitude={{lat}}&longitude={{lon}}&current_weather=true&temperature_unit=fahrenheit
-
Using the Runner-Iterating over a data file - Example request POST https://httpbin.org/post
-
Using the Runner-Linear Execution - Verify the book exists GET {{baseUrl}}/books
-
A few tips for writing tests - Postbot AI assistant POST https://postman-echo.com/post