Postman is a popular automation tool for API testing. Postman offers features that simplify each step of testing an API.
This training is aimed at software testers who wish to use Postman for API testing.
By the end of this training, participants will be able to:
- Execute tests using automated requests and workflows.
- Define, develop, test, and observe an API using a version control system.
- Generate dynamic data in a request.
- Document and organize tests in collections for team revision.
DAY 1:
Introduction, HTTP and NodeJS/NPM
• An understanding of HTTP methods
• NodeJS application understanding
• NPM application experience
• Different method call
• Understanding Network Layer
Postman and API Testing
• API testing vs Unit testing vs UI testing
Overview of Protocols Supported by Postman
• Soap, Rest, HTTP, GraphQL
• Path parameters vs query parameters
Fundamentals of API Testing
• Get requests
• Post requests
• Parameterize requests
• Collections
DAY 2:
Preparing the Development Environment
• Installing and configuring Postman
• Registering in Postman
Creating API Requests
• Using a test API
• Passing additional data with a request
• Creating dynamic requests with variables
• Importing requests from a browser
• Debugging requests
• Saving and sharing requests
• Inspecting responses
DAY 3:
Testing and Scripting
• Scripting a test
• Testing an API
• Refactoring tests
API Workflows With GitHub
• Setting up two-factor authentication on Postman and in GitHub
• Creating a simple workflow with GitHub API
Automating Test Running
• Sampling collection runner
• Using Postman monitors
• Installing NewMan
• Running a collection on Newman and generating a report
Summary and Conclusion