
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.
Explore how cookies attach automatically to requests by domain, inspect cookies in Chrome, and use request bodies to send data with post requests for authentication.
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 how rest api status codes indicate the result of a request, from 200 ok and 301 moved to 400 bad request and 404 not found.
Learn how Postman lets you send API requests, view responses, design APIs from the open API spec, create and share API documentation, collaborate with teammates, and test API behavior.
Download Postman on your local computer, create a Postman account, install the Mac, Windows, or Linux app (or use web with limitations), and sign in to continue.
Explore the Postman graphical user interface, including the top bar with home, workspace, and explore, the search bar, sign-in flow, and navigation of collections, environments, mocks, monitors, and history.
Organize your api projects by creating workspaces, such as office and Udemy personal, and grouping requests into collections like login and cart, then add folders for tokens.
Explore issuing requests and using the Postman API network by forking public collections, working with Postman Echo, and sending get and post requests with parameters, headers, and responses.
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.
Learn to issue GET requests in Postman to a local server using URL parameters, such as searching for iPhone, and view the matching product in the response.
Learn to send query parameters in a search request by using the URL or form inputs, adding model, color, and max, and inspect headers like the user agent.
Explore posting data to a /users endpoint using postman, sending username and password in a json body, handling 400 errors, and using headers to influence responses.
Copy a browser request to Postman, import the raw request into Bozeman, and test REST API; inspect network tab and use preview to view html response for debugging.
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 json web tokens enable authorization and authentication, obtain a token via login, and use a bearer token in the authorization header with postman to post a product.
Explore session-based authentication using cookies, session IDs, and how Postman handles cookies for subsequent requests, including signing in, receiving a session cookie, and using it.
Learn how OAuth 2 authorization code flow lets a site request user consent, exchange a code for an access token, and access Google Drive resources.
Learn to connect Postman with the GitHub API using oauth2, generate an access token via authorization code, register a GitHub app, and fetch repositories with /user/repos.
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.
Postman’s code button lets you generate and copy request snippets in multiple languages, including Node.js and Java, so you can send requests directly from your editor.
Learn to capture http cookies using the Postman proxy and the Postman Interceptor plugin, enable cookies capture for amazon.com, and filter by subdomain to capture only the desired cookies.
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.
Choose and configure dev, stage, and prod environments in Postman, set collection and environment variables for base urls and ports, and reference them in requests to ensure correct data flow.
We progress through Postman masterclass, moving from basic requests, variables, and collections to API design with open API spec, mocking, documentation, testing, automation, and team collaboration.
This crash course teaches yaml representation for open api spec by converting json to yaml, using two-space indentation, hyphenated arrays, object roots, and hash comments.
Design an open API spec to define RESTful endpoints, parameters, request data, response schemas, and error handling for an e-commerce app, enabling frontend and backend teams to collaborate.
Learn to write an open API 3.0 spec for a /users POST endpoint using Swagger Editor, detailing a JSON request with username and password and a 200 response.
Learn to optimize an OpenAPI spec for user creation and signin by tagging endpoints, adding concrete request and response examples, and reusing schemas to reduce repetition in Swagger Editor.
Learn how to refactor OpenAPI specs by creating reusable schemas under components and referencing them with $ref for user creation and sign-out endpoints, improving consistency and maintenance.
Define a favourites API specification for a post request to create a favourites list. Include a list name and an array of items with name, price, and category.
Define delete endpoint for favorites using path parameters list name and user id, plus an odd token in the header, and specify input and output in the open api spec.
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.
Learn how postman query parameter matching filters products by company and type, returning phones for Apple or Samsung and enabling mock responses for frontend testing.
Explore API testing introduction concepts, including API schema validation, verifying response codes and response bodies, header and dependency checks, and automated testing with JavaScript.
Learn to add pre-request and test scripts at collection, folder, and request levels in Postman, and track execution order with consolidated logs.
Write and run test cases in Postman using the PM library to validate status codes such as 200 and 400, including success and failure scenarios, assertions, and conditional execution.
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.
Learn to validate the schema of a response in Postman by using an external library to enforce field types for username and id, and define required properties.
Validate headers after a successful sign-in by asserting the authentication header contains the JWT token, enabling subsequent post requests. Explore writing PMDD test cases to verify header-based authentication in Postman.
Master validating the length of arrays and objects returned by API responses in Postman, using product search and multi-product scenarios to ensure correct item counts.
Master Postman performance testing for api by writing tests to measure response times in milliseconds, set thresholds, and compare local versus production server timings.
Create a Postman orders collection, post new orders using environment variables and bearer token auth, then retrieve user orders to verify endpoint behavior.
Write test cases to validate saved orders by checking the response status indicates created and verifying the returned JSON contains an array of items, each with an id and quantity.
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.
Learn to include the authentication token in request headers to authorize product additions. Use collection level variables and a pre-request script to set the authorization header, save, and clean up.
Learn to organize tests with collection runners and failure folders, validate status codes and responses, then run collections and monitors for automated api testing.
Set up Postman monitors to automatically run a collection of requests from Postman servers, validating data and monitoring performance with scheduled runs and email alerts.
Leverage postman collection runners to load csv data for user creation and sign-in using pre-request scripts and collection variables. Test scenarios cover blank, null, and undefined passwords with length constraints.
Learn JavaScript fundamentals for testing in Bozeman, including variables, constants, functions, parameters, libraries, and basic string, object, and array operations with browser sandbox practice.
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 manipulating objects with multiple levels by accessing keys such as address and building with dot and square bracket notation, delete fields, and iterate keys with for loops and object.keys.
Learn to install and require lodash in Postman tests, then use lodash functions like findIndex, forEach, and filter to manage arrays and objects and extract active users.
Explore Lodash methods for testing in JavaScript, including find, includes, is empty, is null, is undefined, and keys, with examples on arrays, objects, and substrings.
Create and publish API documentation in Postman, link it to your GitHub repo, and version collections as APIs evolve for secure team access.
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.
Start with an OpenAPI spec, build Postman collections and environments, commit to development, and tag releases on master for controlled production deployments.
The instructor thanks learners, announces future Postman updates, and invites reviews to support more content and new Udemy courses.
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