Learn how to write and run automated API tests with Postman.
Overview
Syllabus
Introduction
- Why automate your API tests?
- What you should know
- Setting up your test environment
- Creating collections and folders
- The contact list application
- How JSON Web Tokens (JWTs) work
- Creating GET requests
- Creating POST requests
- Creating PUT and DELETE requests
- Creating negative requests: Part 1
- Creating negative requests: Part 2
- Using environment variables
- Saving response data as a variable
- Challenge: Add variables to a request
- Solution: Add variables to a request
- Status type assertions
- Body assertions
- Header and response time assertions
- Debugging with the Postman console
- Challenge: Write assertions
- Solution: Write assertions
- JSON assertions
- Nested JSON assertions
- Asserting on complicated JSON
- Challenge: Complicated assertions
- Solution: Complicated assertions
- Using the Collection Runner
- Exporting your collection
- Running your collection with Newman
- Continuing with API testing
Taught by
Kristin Jackvony