Postman: The Complete Guide - REST API Testing

Postman API testing for manual and automated tests. Automate with Newman, Jenkins or any other CI tool.

4.65 (17348 reviews)
Udemy
platform
English
language
Software Testing
category
instructor
102,208
students
21.5 hours
content
Jan 2024
last update
$109.99
regular price

What you will learn

Create GET, POST, PUT, DELETE request

Understand GET vs POST request method

Work with real-world APIs (Github API, Trello API)

JavaScript basics for tests

Write API tests in Postman

Use data from Excel files (CSV) or JSON

Use Postman variables to create workflows and scenarios

Run API tests with Newman in Jenkins, GitLab CI or TeamCity

Use OAuth2, API keys, tokens, JWT, basic auth

Test file uploads

Use mock servers

Collaborate using Team Workspaces

Description

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.

Content

Introduction and first steps in Postman

Course overview
Introduction and first steps in Postman
About this course
Introduction and first steps in Postman (continued)
The Postman Landscape
First steps in Postman

Creating with API requests

Note about requestbin
Creating requests
Importing request from your browser
Inspecting responses
Cookies
Troubleshooting
Saving requests

Writing tests and scripts

Introduction
The Postman Cheat Sheet & Quick Reference Guide
Your first test
Testing an API
Testing an API - Writing more tests
Recap: Path parameters vs query parameters
Refactoring Tests

Writing tests and scripts using variables

Variables
Global variables
Environments
Session variables (new in Postman 6.2!)
Bulk editing removed new in Postman 6.2!)
Pre-request scripts
Understanding different variable scopes / types
How to setup different URLs using environments
Debugging tests
Notice about the old Postman scripting API

Hands-on Practice: Building & Testing an API workflow using Github & Twilio

About this section
Introduction to the Github API (provide collection and first request)
Introduction to 2FA
Setting up 2FA on Github
Setting up 2FA in Postman
Automating two-factor authentication (2FA) workflow - overview
Introducing twilio
Get a new Twilio phone number & 2FA setup
Setting up 2FA on Github with Twilio
Troubleshooting why Twilio did not receive the SMS
Assignment: Read the SMS code and replace it in the workflow
Using the Twillio API in Postman
Conclusion
Additional assignment

Advanced assertions

Section overview
Assertion basics
Chai Assertion Library
Assertions
Chai Assertion Library
Assertions on arrays
Assertions on nested objects
Testing headers and cookies

Automatically running tests

Overview
Collection runner
Postman monitors
Automating with Newman (Overview)
Short introduction to NodeJs and NPM
Installing Newman
Troubleshooting Node.js / npm / Newman Problems (for Windows)
Running a collection with Newman
Newman v3 to v4 Migration Guide
3 ways to access your Postman collection from Newman
Specifying environments with Newman
Prerequisites for running Newman on Jenkins
Troubleshooting Jenkins Problems (for Windows)
Running a collection with Jenkins and generating a report
Creating an HTML report in Jenkins
Generating better HTML reports
Customizing HTML reports
Troubleshooting HTML reports
Running a collection from a Git repository with Jenkins

Running Newman with other CI servers / tools

Gitlab CI
TeamCity
Short introduction to Docker (optional)
Running Jenkins with Docker
Running Newman with Docker

Workflows and Scenarios

Overview
Creating a basic workflow / scenario
Advanced workflows
Multiple workflows with the same collection

Running a request multiple times with different data sets

Using workflows to create data-sets
Using external data files - Basic usage
Using external data files - Writing tests
Using external data files - Advanced usage

Team Collaboration

Introduction
Using the Git version control system - Overview
Using the Git version control system - Hands on
Team Workspaces - Creating and sharing a workspace
Team Workspaces - Understanding users and permissions
Team Workspaces - Managing user permissions

Mock servers

Introduction to mock servers
Why use a mock server?
Create your first mock server
Practical example: using mock servers for front-end development
Recording responses from an existing API
Known limitations

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

Sending and testing multipart/form-data requests (file upload form)
Automatic the upload and testing process with Newman

Authentication / Authorization

Basic access authentication
OAuth2 Authorization Flow (Authorization Code Grant)
Form-based / Session-based authentication
JSON Web Tokens (JWT)

Advanced topics and user questions

Postman help - Schedule your free Postman consultation
You ask, I answer
Reusing tests in multiple requests
How to deal with CSV responses?
Writing files to the file system
Passing variables dynamically to the request at runtime (Newman)
Sending requests from scripts
How can I connect to my database using Postman?

New features in Postman

Designing APIs with Postman (OpenAPI 3.0.0 / Swagger)
Sending GraphQL Queries in Postman

JavaScript fundamentals

Section overview
A short history of JavaScript
Data Types in JavaScript
Data Types in JavaScript
Variables
Variables
Conditionals
Conditionals
Functions
Generate a random email address
Data structures: arrays
Data structures: objects
Loops
Modern JavaScript
Sorting things out
Applying what you have learned to Postman
Conclusion

Postman News & Updates

February 2018
March 2018
April 2018
May 2018
July 2018
August 2018
March 2019
June 2019
October 2019

Bonus section

What are you learning next?
Bonus

Screenshots

Postman: The Complete Guide - REST API Testing - Screenshot_01Postman: The Complete Guide - REST API Testing - Screenshot_02Postman: The Complete Guide - REST API Testing - Screenshot_03Postman: The Complete Guide - REST API Testing - Screenshot_04

Reviews

Jose
November 13, 2023
If you need to learn the basics or from zero about postman, this course is really helpful. It is easy to understand.
Arsen
November 9, 2023
Paired with Postman Challenges (explained in Section 23) this course is everything you will need to get started with both postman and API testing overall
Daniel
November 9, 2023
The instructor tries his best to give very detailed information in order to understand the concepts of the lectures. Not so much that it becomes tedious and monotonous, but enough to grasp the concept in one go. Also, he is very thoughtful of their students, and tries to think of everything that might go wrong in any situation, and addresses it in specific videos. Highly recommend him.
Tim
November 9, 2023
Excellent course went beyond what I was expecting going into it. I am not a developer and had never done any programming with JS (dabbled in python/powershell). This course even delivered a primer on it.
Mohamed
November 3, 2023
Excellent Course which covers most aspects of postman. My only point is that it can be shortened and be optimized more than that.
Evgeniya
October 26, 2023
Everything is explained step by step and supported with quizzes and practice. I love these assignments, when you solve them yourself and after look at the solution. Common mistakes are also pointed out to you and sometimes it's really helpful. I definitely recommend the course!
Zueena
October 16, 2023
I am really enjoying this course .The course content has been prepared very systematically and clear .
Janis
August 17, 2023
I'm in debt to Valentin, as this course helped me claim the necessary knowledge to get and go thru a job interview. What else can be better than helping a man change his life perspective? Thank you!
Marco
August 17, 2023
O curso é muito bom já conhecia o professor do youtube então posso assegurar que será um grande curso.
Tebogo
August 15, 2023
The lectures so far a great and interactive. I like the way the course is structured. It is engaging and straight to the point with clear examples and explanations
Jitendra
August 12, 2023
Befroe this course I did not know anything about postman. Afetr completion this course I feel good. Thanks
Jeff
August 11, 2023
Valentin is an excellent instructor. He provides the information in a very clear and easy to understand manner, builds his examples and offers plenty of quizzes to check your new knowledge.
Joaquin
August 5, 2023
It was indeed a good match for me. This amazing handholding course is taking me step by step of the way.
Syed
August 2, 2023
It is the perfect and best course for learning Postman. Valentine is a great teacher, just like I am. I must say, I seldom find someone who has the talent to teach something with this clarity, care & dedication while having excellent knowledge about the subject matter as well. If I could, I would love to pay him a Million €URO for making such a kick-ass course. Valentine, thanks man! ✌?
Shelby
August 2, 2023
The interactive approach has been great hands on training which is how I learn best. Presenter is well understood and goes at a pace I'm able to follow along with. Also like that I can easily pause and rewind

Coupons

DateDiscountStatus
3/26/202130% OFF
expired

Charts

Price

Postman: The Complete Guide - REST API Testing - Price chart

Rating

Postman: The Complete Guide - REST API Testing - Ratings chart

Enrollment distribution

Postman: The Complete Guide - REST API Testing - Distribution chart
1265410
udemy ID
6/23/2017
course created date
9/13/2019
course indexed date
Bot
course submited by