Introduction and first steps in Postman
  • Course overview
  • Introduction and first steps in Postman
  • Introduction and first steps in Postman (continued)
  • The Postman Landscape
  • First steps in Postman
Creating with API requests
  • Note about requestbin
  • How to create a request in Postman
  • How to import a request from your browser in Postman
  • How to inspect HTTP responses in Postman
  • Handling cookies in Postman
  • Troubleshooting Postman issues
  • Saving requests to a collection in Postman
  • Working with API requests
Writing tests and scripts
  • Introduction
  • The Postman Cheat Sheet & Quick Reference Guide
  • Your first API test in Postman
  • Resources for this section
  • Testing an API
  • Testing an API - Writing more tests
  • Troubleshooting
  • Recap: Path parameters vs query parameters
  • Create additional requests and tests
  • Refactoring Tests
Writing tests and scripts using variables
  • Variables in Postman
  • Global variables
  • Environments
  • Session variables (new in Postman 6.2!)
  • Bulk editing removed new in Postman 6.2!)
  • Pre-request scripts in Postman
  • Make the requests dynamic by taking advantages of variables
  • Understanding different variable scopes / types
  • How to setup different URLs using environments in Postman
  • Debugging tests
  • Notice about the old Postman scripting API
Hands-on Practice: Building & Testing an API workflow using Github & Twilio
  • About this section
  • Github API changes starting November 2020
  • Introduction to the Github API
  • Create a simple workflow using the Github API
  • Introduction to 2FA
  • Setting up 2FA on Github
  • Setting up 2FA in Postman
  • Automating two-factor authentication (2FA) workflow - overview
  • Introducing twilio
  • Get a new Twilio phone number & 2FA setup
  • Setting up 2FA on Github with Twilio
  • Troubleshooting why Twilio did not receive the SMS
  • Assignment: Read the SMS code and replace it in the workflow
  • Using the Twillio API in Postman
  • Conclusion
  • Additional assignment
Advanced assertions
  • Section overview
  • Postman assertion basics
  • Chai Assertion Library
  • Assertions
  • Chai Assertion Library
  • Assertions on arrays
  • Assertions on nested objects
  • How to write assertions in Postman (objects, arrays, nested properties)
  • Testing headers and cookies
Automatically running tests
  • Overview
  • Postman collection runner
  • Postman monitors
  • Automating with Newman (Overview)
  • Short introduction to NodeJs and NPM
  • Installing Newman
  • Troubleshooting Node.js / npm / Newman Problems (for Windows)
  • Running a collection with Newman
  • Newman v3 to v4 Migration Guide
  • 3 ways to access your Postman collection from Newman
  • Specifying environments with Newman
  • Prerequisites for running Newman on Jenkins
  • Troubleshooting Jenkins Problems (for Windows)
  • Troubleshooting Jenkins Problems (for macOS, Linux)
  • Running a collection with Jenkins and generating a report
  • Creating an HTML report in Jenkins
  • Generating better HTML reports
  • Customizing HTML reports
  • Troubleshooting HTML reports
  • Running a collection from a Git repository with Jenkins
Running Newman with other CI servers / tools
  • Gitlab CI
  • TeamCity
  • Short introduction to Docker (optional)
  • Running Jenkins with Docker
  • Running Newman with Docker
Workflows and Scenarios
  • Overview
  • Creating a basic workflow / scenario
  • Advanced workflows
  • Clearing unused Trello boards
  • Multiple workflows with the same collection
Data driven tests: Running a request multiple times with different data sets
  • Using workflows to create data-sets