
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
In this lecture, I wanted to give you an overview of the entire course.
Learn to use Postman to query a grocery store API, read documentation, and verify the API status with the status endpoint, ensuring a successful first request and 200 okay response.
Postman guides you from manual API testing to automatic testing by running a defined collection of requests, with monitors, Newman CI integration, HTML documentation, collaboration, and mock servers.
Postman collections allow you to organize and group your API requests in a way that makes them easy to find, use, and share with others.
A Postman collection is a group of requests. Each request in a collection has its own set of properties, such as the request method, URL, and headers. You can also add documentation and test scripts to each request, which can be useful for testing and debugging your API.
Learn how to modify a Postman collection variable, update the base URL and password, manage initial and shared values, and apply changes across multiple requests.
Explore how Postman visualizes responses with pretty, raw, and preview modes to read JSON with colored syntax and collapsible sections, and see HTML previews.
Understand common API parameter misconceptions and why only documented query parameters such as category, results, and available work; unsupported ones like name are ignored by the endpoint.
Enable shortcuts in Postman via settings, shortcuts tab, and learn basics like opening a new tab and saving a request with Mac Command + S or Windows Ctrl + S.
Learn to create a new cart with a post request in Postman, including authorization and the required cart ID, and understand how post differs from get.
Learn how to construct and send JSON payloads for API calls, including post requests to add items to a cart, and understand valid JSON structure with keys, values, and arrays.
Learn to send a post request with a json body in Postman, include path and body parameters, and interpret 400 and 201 responses for a cart item.
Learn practical Postman troubleshooting for post requests: recreate from API docs, fix base URL, supply cart and product IDs, and send JSON with the correct method.
Register an API client to obtain an access token for requests in Postman. Configure the authorization header with the Bearer token and store it as a collection variable for reuse.
Identify common Postman errors by validating endpoints, methods, and JSON payloads, then use status codes and API documentation to guide fixes.
Learn why HTTP headers matter for clear client-server communication, when to use authorization and content-type headers, and how Postman’s defaults help you avoid unnecessary header work.
Understand how headers, query parameters, and path variables form the resource address in Postman. See why these concepts differ and how Postman uses key–value panels to manage them.
Learn to share and import postman collections using API keys, generate new access tokens, and import via a link or file while preserving originals and exporting with version 2.1.
Learn to update a specific field of an existing order using the patch method on orders/{order_id}, with authorization, and verify changes by retrieving the updated orders.
Use Postman variables to avoid duplication by defining a cart id in the collection and referencing it across get cart, get cart items, and add item to cart.
Learn how to modify a cart item using a patch request by updating the quantity with cart ID and item ID, handling 204 no content responses and 400 bad request.
Practice deleting information and resources by removing an existing order in Postman as part of the assignment, mastering delete operations.
Learn how to delete an order using Postman, verify the deletion with a 204 response and a subsequent 404 on a get single order, and validate API requests.
Study the API documentation to determine which HTTP method to use, and learn how get fetches data while post, put, patch, and delete modify or remove information.
In this section, we are going to start writing basic tests and assertions in Postman using JavaScript and the Postman pm object.
Learn to verify status codes for every API endpoint using Postman, perform functional testing, and document tests to ensure 200 OK and handle 404 changes.
Go through all the requests in the collection and write a status code test for each. Ensure the tests fail when needed, guided by the step-by-step quiz.
Learn how to make Postman tests robust by asserting data types instead of hard-coded values. Validate the entire response as an object and ensure a 200 status.
Explore happy path and negative testing in Postman by organizing requests in folders, validating 401 unauthorized errors, missing authorization headers, and meaningful API error messages like invalid token.
Learn boundary testing by evaluating invalid values for the results query parameter, guided step by step through this assignment.
Automate API testing by learning to set and read Postman variables in scripts, eliminating copy-paste and manual data changes for streamlined automation.
Master request chaining in Postman by saving a product ID from a response as a collection variable, and reuse it to fetch a product and add it to the cart.
Apply the fail-fast principle to troubleshoot setting collection variables in Postman scripts. Validate responses with tests that ensure an array, first element exists, a numeric id, and inStock is true.
Extract the cartId from the create cart response, set it as a collection variable in Postman, and verify its validity with tests.
Learn to manage dynamic data in Postman by creating a cart, adding items, and storing lastAddedItemID and orderId as collection variables for automated tests.
Apply Postman variables in scripts to validate a get single order request returning 404 after deletion, and write a test that verifies the response body contains the order ID.
Create a Postman test script that parses the response, checks for an error property, and verifies the error includes the stored order id from collection variables.
learn how to write for loops in JavaScript, using initialization, condition, and afterthought, with i and console.log examples, braces and scope, and a warning about endless loops.
Iterate the get all orders response array with a for loop, parse the JSON, and compare each order id to the collection variable orderId to verify the last submitted order.
Use the array find method with a callback to locate items, from numbers like five to objects like Jamie, and safely retrieve data such as emails or handle not-found cases.
Practice replacing the forEach loop with the array find method in the get all orders request, reinforcing hands-on learning in Postman fundamentals.
Use a pre-request script to generate a random quantity and store it in a postman variable, then apply it to the request or test body.
Learn to remove collection variables in Postman using set, unset, and clear, noting that clear deletes all variables in the scope. Start in a new collection to avoid data loss.
Learn Postman with a Postman Supernova.
RESTful APIs (or simply REST API) are everywhere nowadays, but at the same time, they are getting more complex to get started with: different HTTP methods (GET, POST, PUT, PATCH, DELETE), headers, cookies, dealing with file uploads or authentication with API keys, tokens, OAuth and so much more.
This is where the Postman App comes in! Postman allows you very quickly to create a request with the required HTTP method and parameters, submit the request and easily inspect the results.
I have created this course for testing engineers as well as for software developers or other technical positions. Postman can help you during the development of your API, as well as after the API is completed, by running tests that make sure your API is still working as intended.
In the first part of the course, we will start exploring the features of Postman and continue by writing API tests with the intention of integrating them into a CI server where the tests will run on a current basis.
But this is not the normal course you take part in. Because your needs may be different and because I hate leaving you wondering what to do next, the second part of the course will include user questions and answers to problems that were not yet covered in the course or that are more specific and may not interest everybody.
So let’s look at what you are going to learn:
HTTP request methods (GET, POST, PUT, PATCH, DELETE)
JSON format
Start with simple requests and advance toward more complex scenarios
Learn to deal with authentication/authorization using API Keys
Start writing API tests
So after this course, you will know how to use Postman as a pro.
Excited to learn Postman? Join the course today.
Legal Disclaimer
This course is an independent educational resource and is not endorsed by, affiliated with, or associated with Postman, Inc., or any of its products. Postman is a trademark of Postman, Inc. All product names, logos, and brands mentioned in this course are the property of their respective owners.
This course contains promotional materials.