Postman Beginners Crash Course - Part 5 | API Testing | Chain API Requests | Authorizations

preview_player
Показать описание
How To Chain API Requests
========================

1) Create Get Request (Listing all users)

2) Create Global variable "username" is xyz at collection level

3) Write Test script in Request1 to update "username"

jsonData=JSON.parse(responseBody)

4) Create Put Request (Update user by Name)

5) Parameterize username varaible in to 2nd request(PUT)
"name": "{{username}}"

6) Run Collection which contains both the requests
===================================================
Authorizations
---------------
1) Basic Auth:
username: postman
password: password

2) API Key Auth
API Key/appid: fe9c5cddb7e01d747b4611c3fc9eaf2c

3) Bearer Token / OAuth 2.0

#########################
Udemy Courses:
#########################

Manual Testing+Agile with Jira Tool
************************************

Selenium with Java+Cucumber
********************************

Selenium with Python & PyTest
********************************

Selenium with python using Robot framework
****************************************

API Testing(Postman, RestAssured & SoapUI)
*****************************************

Web & API Automation using Cypress with Javascript
********************************************

Playwright with Javascript
**************************

Jmeter-Performance Testing
************************

SDET Essencials(Full Stack QA)
*************************

Appium-Mobile Automation Testing
************************************

Java Collections
*****************

Python Programming
*********************

Cucumber BDD Framework
***************************

Protractor with Javascript
***************************

####################################
Youtube Playlists:
####################################

Manual Testing & Agile
***********************

SQL
*************************

linux & Shell Scripting
**********************

Java
**********************

Selenium With Java+Cucumber
********************************

Python
********************************

Selenium With Python,Pytest&Behave
***************************************

Selenium With Python Using Robert Framework
(Web&API Testing)
*************************************************

API Testing (Postman,SoapUi,&Rest Assured)
**********************************************

Mobile App Testing Appium
****************************

Performance Testing Jmeter
*******************************

Maven,Jenkins,Git,Github,CI/CD
*******************************

SQL,DB Testing&ETL,Bigdata
*******************************

JavaScript Based Automation Tools
********************************

Selector Hub Tools
********************

GraphQL
******************

Cypress API Testing
********************

Cypress Web Testing
**********************

Playwright with Javascipt
**************************

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

Hi Pawan Sir, I am from non IT bacnkground trying to put my feet into IT. Watching your videos makes me so cofidenet and boost me up to learn more. Thank you so much for all your efforts.

varshajain
Автор

Hi Sir, all these series of video are so easy to understand and also covered all topic in so short and simple way .Thank you so much for these informative videos. Nothing skipped from your notes as well. Well noted below each video description.Best tutor

binapani
Автор

ÇOK TEŞEKKÜR EDERİM. ÇOK YARDIMCI OLDUNUZ. ÜSTÜN BAŞARILAR DİLERİM.

salihkonuk
Автор

Thanks for this. Too good explanation!!

shilpashravge
Автор

Such a detailed explanation Thank you so much Pavan

bharaniravi
Автор

Hi Sir, I have a question: If I want to use the token that I received after logging into an application as a variable in the header of all subsequent requests, can it be done? I tried using the same syntax of using a global variable in the body "{{var_name}}", in he header section, but getting an error. Could you pls let me know how I can do this?

poojarathod
Автор

good evening sir, 1)please take one project(BANKING DOMAIN/TELECOM) tell how to do in that.
2nd question is that how to do simple API testing without internet in postman with one example.

Swapnil-npiw
Автор

Thank you, mr pavan for this session😊🙏

anudeepreddy
Автор

Thank You, Pavan Ji. Your Sessions are helping me. Small Correction in this session Instead of pm. global.set, we need to use collection variable - Thanks

chaitanyasunkara
Автор

Hi Sir. Thanks for the videos. In API chaining, since the variable is set at collection level, we will have to use pm.collectionVariables.set("username", value); instead of pm.globals.set("username", value); to get the desired output.

dhananjaymalhotra
Автор

Awesome Mr Pawan. Excellent detailed explanation.

venkatjayakumar
Автор

Hi Sir, Many thanks for doing these videos. The ways you are explaining these are simply amazing. Thank you!

santanunayak
Автор

Hello Sir, I am getting "responsebody is not defined" while running the same

ankitshrivastava
Автор

Sir if I have to learn rest assured with java and I want to know everything about API automation, should I watch all your postman videos or only starting 4?

acool
Автор

all your videos based on postman are amazing, Thanks for these videos
it is really very helpful for the freshers and for the experienced as well.

sohelahmadkhan
Автор

It is very useful sir.. thanks for sharing your knowledge to us

sivakrishna-qpyr
Автор

Where did you handling error? suppose, first request is failed due to some issue and response 4XX. then why are you are not stopping to execute update request?

sivakrishna
Автор

2 Questions--1) the variable you created for API chaining is Collection variable or Environment/Global Variable ???? 2) At 17:47, it is not clearly understood how is this created variable substituted in subsequent request.

kshipra
Автор

00:00 API chaining
18:00 Authorization

sachiniyer
Автор

Hi, thank you for the videos. I wanted to delete multiple data using delete request. id 3 and 4 is there any way to delete at same time?

ismailulas