Postman Api Testing Step By Step For Beginners
Tags:
learn POSTMAN Step by Step from scratch with real world examples
Last updated 2022-01-10 | 4.4
- By the end of this course you will have complete hands-on knowledge on working with POSTMAN- In-depth understanding of all features and settings of POSTMAN
- You will be able to create end-to-end API Testing projects with POSTMAN
What you'll learn
* Requirements
* ***** No prior specialized knowledge is required ****** Every lecture will start from scratch and you do not need any prior knowledge on Postman or API testing
* There will be real world examples and demo
* Do not worry if you have never done programming
* or api testing
* I will start from scratch and go up step-by-step with hands-on
Description
This course is created for complete beginners.
Get started with POSTMAN step by step.
If you are a complete beginner on Postman, this course is for you. Very basic step by step videos to guide you from scratch.
In this session we will learn
What is POSTMAN
How to download and install
Understand Postman GUI
Create Collections, Variables, Environments and Tests
Data Driven Testing
Run from command-line and Jenkins
Let's Get Started...
Who this course is for:
- Anyone who wants to learn POSTMAN from scratch
- If you want to create complete end-to-end API Testing projects with Postman
- Anyone who wants to learn API execution & testing with POSTMAN
- Beginners in POSTMAN API testing
Course content
14 sections • 25 lectures
Video message from Raghav Preview 00:55
About Raghav and this course ***Must Watch*** Preview 03:06
What is POSTMAN Preview 04:08
Today we will learn : What is Postman
API Client
develop, test, share, document APIs
Step 1: Open Postman webpage - https://www.getpostman.com/
Step 2: Create a free account
Step 3: Activate the account
Step 4: Download and install postman app
Understand POSTMAN GUI Preview 03:21
Today we will learn:
1. About POSTMAN UI
2. Different sections of the interface
3. Header, Sidebar, Builder
How to create First API Request Preview 06:05
Today we will learn:
1. How to create an API request
2. How to run the request
3. How to analyze response
What is Collection | How to create Collection Preview 04:18
Today we will learn:
1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection
How to run COLLECTIONS (Collection Runner) Preview 05:17
Today we will learn:
1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection
How to create and refer variables Preview 06:06
Today we will learn:
1. What are variables in POSTMAN
2. Why use variables
2. How to create variables
3. How to refer variables
Useful TIPS
WHAT
variables - elements(data store) that can take different values
WHY
to reuse values at multiple places
avoid repetition
to avoid re-work when value changes
How to Get and Set variables Preview 07:07
Today we will learn:
1. How to get variables through scripts
2. How to set variables through scripts
pm.variables.get();
pm.variables.set();
pm.globals.get();
pm.globals.set();
pm.environment.get();
pm.environment.set();
How to create Environments Preview 08:14
Today we will learn:
1. What is Environment
2. How to create Environment
3. How to use Environment
4. How to delete Environment
Env is a set of key-value pairs
Reference - https://reqres.in/
How to create quick scripts Preview 02:43
Today we will learn:
1. How to create quick scripts using Snippets
Snippets = script templates
How to create First Test Preview 06:03
Today we will learn:
1. What are Tests in POSTMAN
2. How to create tests at REQUEST level
3. How to create tests at FOLDER level
4. How to create tests at COLLECTION level
Postman tests are javascript code that is executed after receiving the response
________________________________________________________________
How to Debug Preview 06:44
Today we will learn:
1. How to debug with Postman Console
2. How to open Postman Console window
3. Information shown on Postman Console window
4. Clear logs
5. console.log()
console.info()
console.warn()
console.error()
6. App Debug Logs : Developer - DevTools
Data Driven Testing | How to get data from csv & json Preview 17:13
Today we will learn:
1. How to get data from csv file
2. How to get data from json file
3. How to Run data-driven API Requests
4. How to Run data-driven Tests
Useful TIPS
Data variables can be used wherever environment variables can be used except in pre-request and test scripts
References :
https://reqres.in/
https://codebeautify.org/jsonviewer
How to add Authorization in Postman Preview 09:32
Basics of Authorization
A simple example and demo
Note - if you provide authorization at collection or folder level, In the request authorization, Select - "Inherit auth from parent"
When you add Authorization, some headers get added in the request, You can check by going to Headers tab and view hidden Headers
Why we have Authorization and not Authentication in API Requests Preview 04:27
more stories by Raghav - https://automationstepbystep.com/stories/
How to run from Command-line (Newman) Preview 08:24
Today we will learn:
1. How to debug with Postman Console
2. How to open Postman Console window
3. Information shown on Postman Console window
4. Clear logs
5. console.log()
console.info()
console.warn()
console.error()
6. App Debug Logs : Developer - DevTools
How to run from JENKINS Preview 04:16
Pre-requisite - previous session - How to run from command line
Today we will learn:
1. How to setup Postman job in Jenkins
2. How to run Postman from Jenkins
How to create and manage Workspaces Preview 05:36
Today we will learn:
1. What is a workspace
2. How to create and manage workspace
3. How to share collections in workspaces
4. How to remove a collection from workspace
Workspace is an area where you can group, organize and manage your collections
Workspaces are available from Postman 6.0 ver
How to create API Monitors Preview 07:02
Today we will learn:
1. What are MONITORS
2. How to create Monitors
3. How to send email notifications with results
4. How to edit/pause/stop Monitors
Monitors - help to run collections periodically to check the performance and response of api
Notes:
Each Postman user gets 1,000 monitoring calls for free per month.
Each Postman Pro and Enterprise team gets 10,000 free monthly requests
How to create API Documentation Preview 07:39
Today we will learn:
1. What is API Documentation
2. How to create API Documentation
3. How to publish (private and public) Documentations
4. How to unpublish
What is API Documentation
a Postman feature that lets you share API documentation in a beautifully formatted web page.
Useful TIPS
----------------
1. When you select an environment. The variables e.g. {{url}} will be replaced by their values from the selected env in documentation.
2. If you have any confidential data (passwords etc) remove them before publishing the documenation
How to run Collection Remotely with URL Preview 03:34
Today we will learn:
1. How to get Collection URL
2. How to run Collection remotely (from anywhere) using collection url
Step 1 : Get your collection url
Step 2 : Get Newman and run with command
newman run "url"
How to run SOAP requests in Postman Preview 07:27
Today we will learn:
1. How to add SOAP request in Postman
2. Run and Validate
Step 1 : Get Soap request url or WSDL url add to request url
Step 2 : Set method as POST
Step 3 : Set body as raw and set text/xml
Step 4 : Provide request data in body
Step 5 : Run and validate
API Chaining | REST Preview 17:21
How to create Mock APIs in Postman Preview 05:15
In this lecture, we will learn:
What is Mock API
Why we need Mock APIs
How to create Mock APIs in Postman