
Learn Postman for REST API testing, from API design basics to inspecting requests and responses, authentication, and environments, using a real Node.js backend and automated tests.
Discover how to navigate the Postman masterclass and REST API testing course, follow sections, adjust playback speed and quality, and access notes, exercises, downloads, and the GitHub repository.
REST API enables client–server communication, data exchange in JSON, and shows how URL and query parameters, headers, cookies, and status shape requests and responses.
Master core rest api methods including get, post, delete, put, and batch (patch), using query parameters and request bodies to interact with plural endpoints like products and their ids.
Explore server-side behavior when sending requests from Postman by booting a small Node.js project: download the project zip from GitHub, install dependencies, and run the dev server.
Use Postman variables to fix repeating request domains by applying global, collection, environment, data, and local scopes. Understand variable precedence and implement these variables across collections and environments.
Use dynamic variables in Postman to replace hardcoded credentials with random usernames and passwords, generating data like timestamps and Mac addresses for both body requests and tests.
Learn how to authorize with a username and password in Postman using basic auth, send credentials in the request headers, and decode the token to verify server-side handling.
Use postman as a proxy server to capture browser requests, save into history or a collection, filter by url, and view cookies, with macOS and Windows setup.
Discover how to manage environments in api testing, including dev, stage, and production endpoints, authentication, tokens, and logging differences.
Start a node server in three environments—dev, stage, and broad—by using environment files and npm scripts, then run three servers on ports 3000, 3001, and 3002.
Learn to use Postman mock servers to simulate dev API endpoints from an open api spec, auto-generating collections and mock endpoints to accelerate frontend-backend collaboration.
Send requests to the mock server with the e-commerce collection in Postman, verify the base URL, and observe a 200 user added response while learning to simulate a 400 error.
Learn to match a request body to exact examples in Postman by using the header x-match-request-body, differentiate missing password or username, and validate responses for REST API testing.
Learn how to add examples and name matching in Postman mock responses at the product endpoint, use dynamic values, and control responses with X Mock Response Code headers.
Validate the response body after creating a user by asserting a 201 status and that the response includes the username and a non-null id via JSON parsing.
Master Postman performance testing for api by writing tests to measure response times in milliseconds, set thresholds, and compare local versus production server timings.
Write three api tests in postman to verify new orders: status code, response body, and structure. Use json handling, logs, and runners to execute sequential tests across api calls.
Explore the Postman collection runner and learn to clean and organize your workspace by creating a Node.js commerce collection with orders, product, and login folders.
Learn to use Postman collection runners to automate end-to-end API tests, organizing requests into folders, sequencing login, user creation, and product creation, and passing authentication tokens between requests.
Explore JavaScript basics for API testing: declare variables with var, let, and const; print with console.log; define functions with function and arrow syntax; hoisting, parameters, and postman console usage.
Learn to create arrays and objects in Postman, access values with dot or bracket notation, and handle nested objects, date objects, undefined, and null values for testing.
Master array manipulation in JavaScript for Postman API tests, using push, pop, and splice to modify arrays; leverage find, index, includes, and map to validate responses.
Explore versioning in Postman by mapping API documentation to repositories, navigate GitHub, Bitbucket, and GitLab options, manage collections, runners, and test cases, and streamline collaboration for the Postman API spec.
Introduction
In the current software development, environment REST APIs are the most basic way of sending data from your server to your client devices such as Mobiles, laptops, and even IoT devices. Therefore, gaining knowledge on how to use the REST APIs is crucial for being a software engineer. Postman not only serves as a client to send API requests to your server but also provides many additional features such as testing of the APIs, creating a mock server, and also be used as a Proxy server.
This course is intended for application engineers in the development cycle ie: Front-end, back-end developers, and Quality assurance team.
What's Covered?
In this course, I will be covering the most important aspects of Postman and teaching from the perspective of a developer. We start off by learning the basics of REST API, how the REST APIs are developed, designing the API using the OpenAPI spec. Being a full-stack developer, I try to explain the issues that I face when doing the development as a front-end such as mocking of the APIs before the backend service is ready as well as problems faced by back-end engineers such as maintaining the version of the REST API. I also cover the essentials of API testing and take up examples of various scenarios that need to be tested to ensure a smooth functioning backend.
I have created a dummy backend application in NodeJS which we will be using as our backend to test the application. Using this we will be able to simulate real-world scenarios and how to deal with them. If you don't have knowledge of NodeJS don't worry as I have guided you on how to be set up the same.
Hope you enjoy the course and find it useful.
Thank you.
Gaurav