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
- Creating GET and POST requests
- Creating PUT and DELETE requests
- Creating negative requests
- 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
- Adding the NodeJS plugin to Jenkins
- Creating a Jenkins project
- Adding assets to the Jenkins project
- Configuring automatic runs
- Continuing with APIs
Taught by
Kristin Jackvony