Learn Postman for API Testing (Step-by-Step Tutorial)

preview_player
Показать описание
This step-by-step tutorial will take you from zero to Postman hero
00:00 TOPICS
03:31 What is Postman
05:32 Start Postman | SignUp | Setup
09:40 Understand GUI
17:26 How to add GET API Request
26:50 Run and check Response

30:57 POST Request
37:47 PUT & PATCH Request
42:11 DELETE Request
43:43 COLLECTIONS
01:02:16 VARIABLES
01:11:17 GET & SET VARIABLES with SCRIPTS
01:21:04 ENVIRONMENT
01:30:54 SCRIPTS
01:32:18 TESTS

On Windows | Mac | Linux
Or Use directly on web browser

What is Postman

Postman is a platform for API
Development
Testing
Management

Step 2 - Create Account | Check Email and verify account
Step 3 - Can download Postman OR use Postman on web browser
Step 4 - Login to Postman
Step 5 - Explore GUI and features


How to add GET API Request

Step 1 - Select the HTTP Method
Step 2 - Add the API endpoint
Step 3 - Add Headers, Authorizations etc as needed
Step 4 - For POST, PUT requests add Body
Step 5 - Save & Run, Check response

Sample APIs for Testing

-

How to add POST API Request

Step 1 - Create a new HTTP Request
Step 2 - Select the HTTP Method POST
Step 3 - Add the API endpoint
Step 4 - Add Headers, Authorizations etc as needed
Step 5 - For POST requests add Body
Step 6 - Save & Run, Check response

How to add PUT and PATCH API Request

Step 1 - Create a new HTTP Request
Step 2 - Select the HTTP Method
PUT for replacing the complete resource
PATCH for partially updating the resource
Step 3 - Add the API endpoint
Step 4 - Add Headers, Authorizations etc as needed
Step 5 - Add Body as needed
Step 6 - Save & Run, Check response

How to add DELETE API Request

Step 1 - Create a new HTTP Request
Step 2 - Select the HTTP Method DELETE
Step 3 - Add the API endpoint
Step 4 - Add Headers, Authorizations etc as needed
Step 5 - Save & Run, Check response

COLLECTIONS
1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection
5. How to bring your Collection to the top

VARIABLES
What are variables
Why and when to use variables
How to create variables
How to refer variables

Can create variables at following levels (scope)
Global
Collection
Environment
Data
Local

Can refer variables in:
Requests
Scripts
Collection
Environment

Priority
Local
Data
Env
Collection
Global

Get & Set Variables with Scripts

Set Variables with script

Get Variables with script

Priority
Local
Data
Env
Collection
Global

ENVIRONMENT
What is Environment
Why do we need Environments
How to create Environment
How to use Environment
How to delete Environment

Environment is a set of key-value pairs
Step 1 - Create a api request
Step 2 - Create environments and add key-value pairs (variables)
Step 3 - Refer the variables in request
Step 4 - Select the environment from dropdown and run request
Step 5 - Create more environments and execute request

TESTS
What are Tests in Postman
How to create tests at REQUEST level
How to create tests at FOLDER level
How to create tests at COLLECTION level

Tests in Postman are JavaScript code that is executed after receiving response

Step 1 - Create a api request
Step 2 - Check the Scripts - Post-response section under
Request
Collection
Folder
Step 3 - Create and run tests

#Postman #APITesting #RESTAPI #SoftwareTesting #Tutorial #Beginners

▬▬▬▬▬▬▬

Share with all who may need this

If my work has helped you, consider helping any animal near you, in any way you can

Never Stop Learning
Raghav Pal

▬▬▬
Рекомендации по теме
Комментарии
Автор

I was using Postman in my previous company for basic use. Now after I gone through this video, I came to know about the nuances of the Postman and its entire usage. I'm confident now that I can showcase my skills and knowledge moving forward in Postman.

Thank you! #KeepTeaching #KeepLearning

vignesh
Автор

Fantastic video sir, you have covered everything in a single video

FinanceThrive-zn
Автор

I have experience in API with postman, But I need to revise everything from start because from last 2 years i didn't working on API, So I will start this Session but in advance I want to THANK YOU Sir for this Easy & Simple Course 👍 I will start & complete.

pgcreation
Автор

i just went through this video and found out really useful.Very useful for practice for interviews

poojashirke
Автор

Thank you so much for this. I appreciate the work you're doing for the community

web_shivam
Автор

Very nice video which has covered a lot at initial level. Thanks a lot.👍

kkbhargava
Автор

Thank you Raghav, for your effort in helping people understand the concepts in a very simple way

chandrashekharb
Автор

bhai i have seen some postman videos, but your way of explaining is the best, thank you so much for a great video

tazbaloch
Автор

Thanks alot for the beneficial and short videos, it helped me alot❤ keep teaching ♥️

SkincareReviewsForYou
Автор

Thank you for this update and training....Love you

owonifariajibola
Автор

Oh wow I was wondering when will get updated videos on postman api or rest assured. Here we have. 🎉 👏

andyrockstar
Автор

🎉 amazing explanation Amazing.... what's the next step to learn after this plz suggest

tteejjj
Автор

Raghav please teach us AI from scratch to Expert Level... And I can only request you because there is no one better than you and AI is the need of the hour

abhijeetsingh
Автор

Hi Raghav, Please post videos on Tableau, ETL Testing, Accessibility Testing (JAWS) and Penetration testing (Burpsuite)

hariharakrishnan
Автор

hi Raghav, I was following this great course but when I try to run the collection I got this error, I was looking for a fix on internot but not lucky so far, have you any idea what can I do to fix this? thanks in advance: Failed running the collection: TypeError: Cannot read properties of undefined (reading 'id')

hectormanuelmh
Автор

Is it possible to have different envs for the same collection? And to be able to use variables from them in one collection run? This is needed to group the variables in an understandable manner and for easier maintenance.

slobodanparizoski
Автор

Please tell how to check json response is normal or dynamic.

shubhs
Автор

Hello Sir, can you please make a playlist for beginners, which video we should follow step wise? Like first we should know manual testing then we should know jira, java script, postman. Etc. I want start my career in testing. What should I do i know before give any interview?

lalitarao
Автор

Thanks for the tutorial. Do you have videos on REST Assured as well? I don't see that under your videos, so I'm asking.

saiashok
Автор

Great video. What program did you use to make this video?

JHendrix