Postman Fundamentals in 6 hours

Postman API Testing for Manual and Automated Tests for Beginners

  • 0.0 (0 Reviews)
  • 0 Students
  • 122 Lessons
  • Valentin Despa

Course Overview

Learn Postman with a Postman Supernova.

RESTful APIs (or simply REST API) are everywhere nowadays, but at the same time, they can be tricky to get started with: different HTTP methods (GET, POST, PUT, PATCH, DELETE), parameters, headers, JSON bodies, status codes and authentication.

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.

The course is split into four parts. You start by setting up Postman and sending your first requests while learning how APIs and HTTP work. Next, you build REST API requests step by step, from simple GET requests to POST, PUT, PATCH and DELETE. Then you write your first API tests, and finally you use Postman variables and JavaScript in scripts to pass data between requests and build realistic test scenarios.

Along the way, you practice with hands-on assignments and quizzes, and dedicated troubleshooting lectures show you how to fix the most common Postman errors.

So let’s look at what you are going to learn:


  • HTTP request methods (GET, POST, PUT, PATCH, DELETE)

  • Query parameters, path variables, headers and the JSON format

  • Start with simple requests and advance toward more complex scenarios

  • Learn to deal with authentication/authorization using API Keys

  • Write API tests for status codes, response bodies, data types and error handling

  • Use Postman variables and request chaining to pass data between requests

  • JavaScript basics for tests: data types, loops, conditionals and arrays

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.

See more

FAQ

FAQ area empty

Course curriculum

4 chương 122 bài học 6 giờ 31 phút 7 bài học thử miễn phí
Chương 1 Introduction and first steps in Postman
Chương 2 Creating REST API requests with Postman
  • Section overview 1:53
  • Resources for this section
  • Postman collections 3:23
  • Storing configuration in collection variables 5:48
  • Modifying collection variables 7:36
  • Postman collections and variables
  • GET request 3:53
  • Visualizing responses in Postman 3:42
  • Query parameters 9:14
  • Misconceptions about API parameters 2:23
  • Query parameters
  • Assignment - Query parameters 1:21
  • Guided Assignment - Step by step instructions
  • Assignment - Query parameters - Solution 5:28
  • Shortcuts in Postman 1:35
  • Path variables 6:43
  • Troubleshooting Path variables 3:39
  • Query params vs Path variables 9:44
  • Path variables
  • The business processes and rules behind an API 2:36
  • POST request 3:03
  • Assignment - Check cart contents 0:42
  • Guided Assignment - Step by step instructions
  • Assignment - Check cart contents - Solution 3:07
  • JSON format explained 8:17
  • POST request with JSON 3:25
  • Troubleshooting POST requests 10:58
  • GET vs POST 3:17
  • POST requests with JSON
  • API Authentication 8:54
  • Troubleshooting HTTP status codes 4:11
  • Assignment - Place an order 0:30
  • Guided Assignment - Step by step instructions - Place an order
  • Troubleshooting - Place an order
  • Assignment - Place an order - Solution 1:54
  • Using random data in requests (random variables) 3:07
  • Working with HTTP headers in Postman 5:18
  • Common questions about HTTP headers 4:28
  • Headers vs query vs params 1:55
  • Exporting and Importing a Postman collection 5:58
  • PATCH request method 5:51
  • Assignment - PATCH request method 0:30
  • Assignment - PATCH request method - Solution 1:04
  • Using Postman variables to avoid duplication 1:35
  • PATCH request method - continued 2:43
  • PUT request method 3:06
  • DELETE request method 2:09
  • Assignment - Delete an order 0:22
  • Guided Assignment - Step by step instructions
  • Assignment - Delete an order - Solution 2:50
  • GET, POST, PUT, PATCH … What is the difference? 2:35
  • HEAD request method 1:14
  • HTTP request methods quiz
Chương 3 Writing basic API tests
  • Introduction 1:07
  • Resources for this section
  • Verifying the response status code 2:28
  • Assignment - Adding status code tests 0:30
  • Guided Assignment - Adding status code tests
  • Assignment - Adding status code tests - Solution 11:04
  • Testing the response body 8:31
  • Asserting the data type of a property 5:57
  • The Postman Cheat Sheet & Quick Reference Guide
  • Refactoring tests 2:36
  • Testing the API error handling 8:54
  • Organizing requests and reusing tests 4:37
  • Assignment - Reduce duplication in tests 0:33
  • Guided Assignment - Reduce duplication in tests
  • Assignment - Reduce duplication in tests - Solution 3:29
  • Boundary testing 5:41
  • Assignment - Boundary testing 0:24
  • Assignment - Boundary testing
  • Assignment - Boundary testing - Solution 3:26
  • Documenting requests in Postman 2:16
Chương 4 Using Postman variables in scripts
  • Section overview 0:39
  • Setting Postman variables from scripts 4:00
  • Request chaining (passing data from one request to the other) 6:24
  • Troubleshooting setting collection variables from scripts 12:12
  • Assignment - Set the cartId in a Postman variable 0:33
  • Guided Assignment - Set the cartId in a Postman variable
  • Assignment - Set the cartId in a Postman variable - Solution 5:03
  • Assignment - Store all dynamic data in Postman variables 1:08
  • Guided Assignment - Store all dynamic data in Postman variables
  • Assignment - Store all dynamic data in Postman variables - Solution 12:46
  • Getting Postman variables from scripts 8:21
  • Assignment - Getting Postman variables from scripts 0:49
  • Guided Assignment - Getting Postman variables from scripts
  • Assignment - Getting Postman variables from scripts - Solution 4:45
  • Working with Postman collection variables from scripts
  • JavaScript: Comparing data types 8:04
  • JavaScript: For loop statement 9:17
  • For loop statement
  • JavaScript: Iterating over arrays (for loop) 3:54
  • Iterating over arrays (for loop)
  • JavaScript: Conditionals - if statements 4:50
  • Conditionals
  • Searching for data in a response (for loop) 6:21
  • Writing assertions against an array 3:30
  • Iterating over arrays (forEach loop) 7:12
  • Iterating over arrays (forEach loop)
  • Filtering a list of items
  • JavaScript: Finding data in an array with find 7:05
  • Assignment - use find instead of forEach 0:26
  • Guided Assignment - use find instead of forEach
  • Assignment - use find instead of forEach - Solution 4:31
  • Managing the data type in Postman variables 5:00
  • Passing data from the pre-request script to the request/tests 5:55
  • Where can you use Postman variables? 2:43
  • Removing collection variables 4:59
  • Recap: Using Postman variables in scripts
  • Bonus lecture

Requirment

  • Basic programming and/or JavaScript knowledge is required (needed for writing tests)

  • Basic HTTP knowledge required (address, message body, headers, cookies, ...)

  • Basic knowledge about RESTful APIs and JSON

  • A computer with Windows, macOS or Linux is required for viewing the lectures and installing Postman. Using a mobile phone/tablet is not recommended.

Outcomes

  • Create GET, POST, PUT, DELETE requests

  • Understand GET vs POST request method

  • JavaScript basics for tests

  • Write API tests in Postman

  • Use Postman variables to create workflows and scenarios

  • Troubleshoot common Postman errors and HTTP status codes

Instructor

...
Valentin Despa

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all