Mô tả

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 mechanisms like Basic Auth, API Keys, or OAuth.

  • Start writing API tests

  • Organize tests in collections and share them with your team

  • Run API tests in Jenkins or any other CI server

  • You ask, I answer

So after this course, you will know how to use Postman as a pro.

Excited to learn Postman? Join the course today.

Bạn sẽ học được gì

Yêu cầu

Nội dung khoá học

24 sections

Introduction and first steps in Postman

11 lectures
Course overview
03:46
About the course
03:51
How to install Postman
02:29
A quick introduction to APIs
02:56
Introduction to Postman & APIs
6 questions
Your first Postman request
04:55
Troubleshooting Postman errors
05:36
Using Postman on the web
05:42
A brief overview of HTTP
04:58
The Postman Landscape
02:36
First steps in Postman
8 questions

Creating REST API requests with Postman

56 lectures
Section overview
01:53
Resources for this section
00:02
Postman collections
03:23
Storing configuration in collection variables
05:48
Modifying collection variables
06:14
Postman collections and variables
7 questions
GET request
03:53
Visualizing responses in Postman
03:42
Query parameters
09:14
Misconceptions about API parameters
02:23
Query parameters
11 questions
Assignment - Query parameters
01:21
Guided Assignment - Step by step instructions
8 questions
Assignment - Query parameters - Solution
05:28
Shortcuts in Postman
01:35
Path variables
06:43
Troubleshooting Path variables
03:39
Query params vs Path variables
09:44
Path variables
5 questions
The business processes and rules behind an API
02:36
POST request
03:03
Assignment - Check cart contents
00:42
Guided Assignment - Step by step instructions
8 questions
Assignment - Check cart contents - Solution
03:07
JSON format explained
08:17
POST request with JSON
03:25
Troubleshooting POST requests
10:58
GET vs POST
03:17
POST requests with JSON
9 questions
API Authentication
08:54
Troubleshooting HTTP status codes
04:11
Assignment - Place an order
00:30
Guided Assignment - Step by step instructions - Place an order
5 questions
Troubleshooting - Place an order
00:07
Assignment - Place an order - Solution
01:54
Using random data in requests (random variables)
03:07
Working with HTTP headers in Postman
05:18
Common questions about HTTP headers
04:28
Headers vs query vs params
01:55
Exporting and Importing a Postman collection
05:58
PATCH request method
05:51
Assignment - PATCH request method
00:30
Assignment - PATCH request method - Solution
01:04
Using Postman variables to avoid duplication
01:35
PATCH request method - continued
02:43
PUT request method
03:06
DELETE request method
02:09
Assignment - Delete an order
00:22
Guided Assignment - Step by step instructions
6 questions
Assignment - Delete an order - Solution
02:50
GET, POST, PUT, PATCH … What is the difference?
02:35
HEAD request method
01:14
HTTP request methods quiz
4 questions
Assignment - Valentin's Book List API
00:58
Guided Assignment - Valentin's Book List API
10 questions
Assignment - Valentin's Book List API - Solution
12:23

Practice section - Building REST API requests

21 lectures
Section overview
02:04
Why learn to use real-world APIs?
04:35
Troubleshooting
00:48
Using the API documentation
07:45
Using the API documentation - Assignment
06:32
Guided Assignment - Using the API documentation
12 questions
Using API documentation - Assignment Solution
12:07
Using identifiers when working with resources
06:31
Assignment - Creating resources - Lists
00:51
Guided Assignment - Creating resources - Lists
7 questions
Assignment - Creating resources - Lists - Solution
03:46
Assignment - Creating resources - Cards
00:39
Guided Assignment - Creating resources - Cards
5 questions
Assignment - Creating resources - Cards - Solution
03:44
Assignment - Managing resources
00:54
Guided Assignment - Managing resources
7 questions
Assignment - Managing resources - Solution
04:56
Assignment - Deleting resources
00:50
Guided Assignment - Deleting resources
7 questions
Assignment - Deleting resources - Solution
02:44
Protect your API keys
02:54

Introduction to API testing & JavaScript

38 lectures
Section overview
00:57
A short history of JavaScript
01:38
Your first Postman script
06:10
Your first API test in Postman
10:04
Defining JavaScript variables
06:53
Using “let” to define JavaScript variables
08:18
Conventions for naming JavaScript variables
05:03
Working with JavaScript variables
07:37
Constants in JavaScript
03:29
Data Types in JavaScript
03:08
Data Types in JavaScript
2 questions
Working with JavaScript variables
1 question
Swap two variables in JavaScript
1 question
Variables
3 questions
Mathematical operations
07:33
Mathematical operations
1 question
Code blocks and variable scopes
06:49
Defining a function in JavaScript
08:39
Returning values from functions
05:11
Built-in JavaScript functions
06:14
Generate a random email address
1 question
Arrow functions
04:56
Callback functions
12:31
Callback functions in Postman
05:18
Objects in JavaScript
07:59
Object methods
02:22
Object methods - using a property from the object
03:18
Alternative syntax for defining and accessing object properties
04:15
JavaScript objects and JSON
07:23
Parsing JSON in Postman
04:24
Writing assertions in Postman
06:41
Storing a list of items - Arrays in JavaScript
05:55
Navigating object properties and arrays
07:15
Navigating complex data structures in Postman
06:34
Navigating complex data structures
1 question
Built-in methods when working with arrays
06:34
Array methods
4 questions
Conclusion
01:11

Writing basic API tests

20 lectures
Introduction
01:07
Resources for this section
00:02
Verifying the response status code
02:28
Assignment - Adding status code tests
00:30
Guided Assignment - Adding status code tests
15 questions
Assignment - Adding status code tests - Solution
11:04
Testing the response body
08:31
Asserting the data type of a property
05:57
The Postman Cheat Sheet & Quick Reference Guide
00:14
Refactoring tests
02:36
Testing the API error handling
08:54
Organizing requests and reusing tests
04:37
Assignment - Reduce duplication in tests
00:33
Guided Assignment - Reduce duplication in tests
8 questions
Assignment - Reduce duplication in tests - Solution
03:29
Boundary testing
05:41
Assignment - Boundary testing
00:24
Assignment - Boundary testing
4 questions
Assignment - Boundary testing - Solution
03:26
Documenting requests in Postman
02:16

Using Postman variables in scripts

36 lectures
Section overview
00:39
Setting Postman variables from scripts
04:00
Passing data from one request to the other
06:24
Troubleshooting setting collection variables from scripts
12:12
Assignment - Set the cartId in a Postman variable
00:33
Guided Assignment - Set the cartId in a Postman variable
9 questions
Assignment - Set the cartId in a Postman variable - Solution
05:03
Assignment - Store all dynamic data in Postman variables
01:08
Guided Assignment - Store all dynamic data in Postman variables
11 questions
Assignment - Store all dynamic data in Postman variables - Solution
12:46
Getting Postman variables from scripts
08:21
Assignment - Getting Postman variables from scripts
00:49
Guided Assignment - Getting Postman variables from scripts
3 questions
Assignment - Getting Postman variables from scripts - Solution
04:45
Working with Postman collection variables from scripts
6 questions
JavaScript: Comparing data types
08:04
JavaScript: For loop statement
09:17
for loop statement
5 questions
JavaScript: Iterating over arrays (for loop)
03:54
Iterating over arrays (for loop)
2 questions
JavaScript: Conditionals - if statements
04:50
Conditionals
4 questions
Searching for data in a response (for loop)
06:21
Writing assertions against an array
03:30
Iterating over arrays (forEach loop)
07:12
Iterating over arrays (forEach loop)
4 questions
Filtering a list of items
1 question
JavaScript: Finding data in an array with find
07:05
Assignment - use find instead of forEach
00:26
Guided Assignment - use find instead of forEach
3 questions
Assignment - use find instead of forEach - Solution
04:31
Managing the data type in Postman variables
05:00
Passing data from the pre-request script to the request/tests
05:55
Where can you use Postman variables?
02:43
Removing collection variables
04:59
Recap: Using Postman variables in scripts
3 questions

Using Postman environments & environment variables

12 lectures
Test-driven development (TDD)
04:39
Postman Environments & Environment variables
10:22
Troubleshooting environment variables
04:37
Using if statements to include or exclude tests
05:12
Storing secrets in environments
05:47
Exporting and importing environments
03:55
Environment variables quiz
5 questions
Setting, getting and removing environment variables from scripts
05:19
Getting variables in scripts according to the scope
03:13
Migrating from collection variables to environment variables
10:23
Global variables
04:48
Setting, getting and removing global variables from scripts
03:08

Practice section - Adding tests to an API

31 lectures
Section overview
00:51
Resources for this section
00:11
Troubleshooting
00:22
Assignment - Add status code tests
00:51
Guided Assignment - Add status code tests
4 questions
Assignment - Add status code tests - Solution
06:04
Assignment - Use Postman variables
00:29
Guided Assignment - Use Postman variables
9 questions
Assignment - Use Postman variables - Solution
08:45
Assignment - Reducing manual work by using variables & scripts
01:27
Guided Assignment - Reducing manual work by using variables & scripts
3 questions
Assignment - Reducing manual work by using variables - Solution
03:19
JavaScript: Transforming an array with map()
05:19
Working with complex data structures in Postman variables
09:36
Assignment - Write tests for Create board request
01:11
Guided Assignment - Write tests for Create board request
4 questions
Assignment - Write tests for Create board request - Solution
09:08
Assignment - Dynamic board names
00:44
Guided Assignment - Dynamic board names
6 questions
Assignment - Dynamic board names - Solution
08:27
Assignment - Write tests for the TODO and DONE lists
00:37
Guided Assignment - Write tests for the TODO and DONE lists
2 questions
Assignment - Write tests for the TODO and DONE lists - Solution
03:25
Write tests for the Create card request
01:39
Guided Assignment - Write tests for the Create card request
4 questions
Assignment - Write tests for the Create card request - Solution
04:51
Assignment - Test the request Move card to DONE list
00:41
Guided Assignment - Test the request Move card to DONE list
2 questions
Assignment - Test the request Move card to DONE list - Solution
01:31
Clean-up work
02:13
Resilient scripts & tests
06:08

Advanced assertions

8 lectures
Ongoing course update
00:27
Chai Assertion Library
01:34
Assertions
09:50
Chai Assertion Library
4 questions
Assertions on arrays
14:36
Assertions on nested objects
17:13
How to write assertions in Postman (objects, arrays, nested properties)
00:03
Testing headers and cookies
00:17

Postman Automation basics

9 lectures
Overview
02:23
Running the collection manually
01:01
Postman Collection Runner
07:12
Collection runner usage limits
01:15
Scheduled collection runs
09:24
Running Postman collections as part of CI/CD
02:51
Postman CLI (installation & basic usage)
05:35
Newman CLI (installation & basic usage)
03:43
Troubleshooting Node.js / npm / Newman Problems (for Windows)
00:56

Automation with Postman CLI

8 lectures
Section overview
00:52
Login and logout
05:02
Running a collection
01:50
Running a collection from an URL
01:36
Running a collection from a file
01:57
Using environments
04:34
Advanced configuration options
08:41
Usage restrictions and limitations
01:43

Automation with Newman

10 lectures
Installing Newman
03:05
Troubleshooting Newman installation problems (for Windows)
00:55
Running a collection from an URL
04:57
Running a collection from a file
03:24
Specifying environments with Newman
07:11
Generating HTML reports
09:05
Generating JUnit reports
02:14
Searching for Newman reporters
01:38
Advanced configuration options
06:02
Conclusion
00:31

Postman Test Automation with Jenkins

16 lectures
Section overview
01:33
How to run Jenkins with Docker
07:08
Defining jobs in Jenkins: Jenkins freestyle and Jenkinsfile
02:15
Using Postman CLI in Jenkins (freestyle)
05:12
Managing secrets in Jenkins
04:15
Using Postman CLI in Jenkins with Jenkinsfile
06:11
Using Newman in Jenkins (freestyle)
06:05
Using Newman in Jenkins (Jenkinsfile)
04:26
Publishing an HTML report in Jenkins (freestyle)
09:07
Publishing an HTML report in Jenkins (Jenkinsfile)
04:42
Publishing JUnit report (Freestyle)
04:30
Publishing JUnit report (Jenkinsfile)
04:54
Troubleshooting failed builds with reports
03:51
Troubleshooting Jenkins Problems (for Windows)
01:15
Troubleshooting Jenkins Problems (for macOS, Linux)
00:15
Troubleshooting HTML reports
00:24

Running Newman with other CI servers / tools

2 lectures
Gitlab CI
12:28
TeamCity
21:26

Workflows and Scenarios

5 lectures
Overview
00:51
Creating a basic workflow / scenario
06:00
Advanced workflows
06:57
Clearing unused Trello boards
7 questions
Multiple workflows with the same collection
00:05

Data driven tests: Running a request multiple times with different data sets

4 lectures
Using workflows to create data-sets
09:22
Using external data files - Basic usage
08:03
Using external data files - Writing tests
07:59
Using external data files - Advanced usage
09:10

Team Collaboration

6 lectures
Introduction
00:44
Using the Git version control system - Overview
06:05
Using the Git version control system - Hands on
08:09
Team Workspaces - Creating and sharing a workspace
08:27
Team Workspaces - Understanding users and permissions
03:32
Team Workspaces - Managing user permissions
04:15

Mock servers

6 lectures
Introduction to mock servers
00:37
Why use a mock server?
05:39
Create your first mock server
11:44
Practical example: using mock servers for front-end development
04:32
Recording responses from an existing API
04:41
Known limitations
02:09

File uploads (testing, automatic uploads, uploading multiple files)

2 lectures
Sending and testing multipart/form-data requests (file upload form)
10:00
Automatic the upload and testing process with Newman
16:57

Authentication / Authorization

4 lectures
Basic access authentication
05:55
OAuth2 Authorization Flow (Authorization Code Grant)
07:54
Form-based / Session-based authentication
16:25
JSON Web Tokens (JWT)
09:34

Advanced topics and user questions

8 lectures
You ask, I answer
00:14
Reusing tests in multiple requests
09:19
How to deal with CSV responses?
09:34
Writing files to the file system
30:50
Passing variables dynamically to the request at runtime (Newman)
00:18
Sending requests from scripts
13:19
How can I connect to my database using Postman?
06:06
JSON Schema validation in Postman
00:12

New features in Postman

2 lectures
Designing APIs with Postman (OpenAPI 3.0.0 / Swagger)
12:37
Sending GraphQL Queries in Postman
08:20

Postman Developer Challenge

1 lectures
Postman challenge webinars
00:44

Last words

1 lectures
Bonus Lecture
00:10

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.