Description
In this course, you will learn:
- Creating collections
- Creating GET, POST, PUT, and DELETE requests
- Using environment variables
- Easy Postman assertions
- Advanced Postman assertions
- Running collections with the collection runner and Newman
- Automating test collections as Jenkins projects
Syllabus:
- Introduction
- Why automate your API tests?
- What you should know
- Setting up your test environment
1. Getting Started with Postman
- 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
2. Easy Postman Assertions
- Status type assertions
- Body assertions
- Header and response time assertions
- Debugging with the Postman console
- Challenge: Write assertions
- Solution: Write assertions
3. Advanced Postman Assertions
- JSON assertions
- Nested JSON assertions
- Asserting on complicated JSON
- Challenge: Complicated assertions
- Solution: Complicated assertions
4. Running Your Test Collections
- Using the collection runner
- Exporting your collection
- Running your collection with Newman
5. Automating Your Collections
- Adding the NodeJS plugin to Jenkins
- Creating a Jenkins project
- Adding assets to the Jenkins project
- Configuring automatic runs