4.35 out of 5
4.35
488 reviews on Udemy

POSTMAN API Testing – Step by Step for Beginners

learn POSTMAN from scratch
Instructor:
Raghav Pal
2,117 students enrolled
English [Auto-generated]
Work with POSTMAN
Understand all features and working of POSTMAN
Create API Testing solution with POSTMAN
Run from command-line and Jenkins

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…

INTRODUCTION

1
What is POSTMAN

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


2
Understand POSTMAN GUI

Today we will learn:

1. About POSTMAN UI
2. Different sections of the interface
3. Header, Sidebar, Builder


3
How to create First API Request

Today we will learn:

1. How to create an API request
2. How to run the request
3. How to analyze response


COLLECTIONS

1
What is Collection | How to create Collection

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

2
How to run COLLECTIONS (Collection Runner)

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

VARIABLES

1
How to create and refer variables

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

2
How to Get and Set variables

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();

ENVIRONMENTS

1
How to create Environments

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/

TEST SCRIPTS CREATION

1
How to create quick scripts

Today we will learn:

1. How to create quick scripts using Snippets

Snippets = script templates

2
How to create First Test

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
________________________________________________________________

3
How to Debug

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

COMMAND LINE and JENKINS

1
How to run from Command-line (Newman)

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

2
How to run from JENKINS

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

WORKSPACED | MONITORS | DOCUMENTATION

1
How to create and manage Workspaces

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

2
How to create API Monitors

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


3
How to create API Documentation

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

DATA DRIVEN TESTING

1
Data Driven Testing | How to get data from csv & json

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

REMOTE Execution

1
How to run Collection Remotely with URL

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"

SOAP API TESTING

1
How to run SOAP requests in Postman

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

1
API Chaining | REST
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.4
4.4 out of 5
488 Ratings

Detailed Rating

Stars 5
199
Stars 4
212
Stars 3
62
Stars 2
11
Stars 1
4
d5197902312622eda03791a96236fe05
30-Day Money-Back Guarantee

Includes

2 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion