SlideShare a Scribd company logo
1 of 37
Postman
• Postman is a standalone software testing API
(Application Programming Interface) platform to
build, test, design, modify, and document APIs.
Note:
Application Programming Interface (API) is
software that acts as an intermediary for two
apps to communicate with each other. We use
APIs whenever we use an application like
Twitter, Facebook, sending text messages, or
checking the weather over the phone.
• Postman can be downloaded from this
link: https://www.postman.com/downloads/
Http Request
• HTTP (Hypertext Transfer Protocol), is
the underlying format that is used to
structure request and responses for
effective communicationbetween a
client and a server. The message that
is sent by a client to a server is what
is known as an HTTP request. When
these requests are being sent, clients
can use various methods.
• An HTTP request is an action to be
performed on a resource identified
by a given Request-URL. Request
methods are case-sensitive, and
should always be noted in upper
case. There are various HTTP request
methods, but each one is assigned a
specific purpose.
1. GET methodis used to retrieve whatever information is identified by the
Request-URL.
2. POSTrequests are utilized to send data to a server to create or update a
resource.
3. PUT is similar to POST as it is used to send data to the server to create or
update a resource.
4. DELETErequest method is used to delete resources indicated by a specific URL.
Note:
A PATCH request is similar to POST and PUT. However,its primary purpose is to apply
partial modifications to the resource
GET vs POST Request Methods
GET
• Has restriction on data type as
the only allowed data type is
ASCII characters
• Can be bookmarked.
• maximum URL length is 2048
characters.
• Can be cached
POST
• There is no restriction on data
type, and binary data is also
allowed
• Cannot be bookmarked.
• There are no restriction on data
length.
• Can’t be cached
Basic Understanding:
• URI( Uniform Resource Identifiers).
e.g. https://reqres.in/api/users?page=2
• URL( Uniform Resource Locators).
e.g. https://reqres.in---> Domain
• /api/users ---> Path parameters( It will get the data from the server
based on path which we provided).
• ?page=2 ---> Query Parameters(It will filter the data).
Note: We will be using regres dummy API for learning API testing through
Postman.
DummyAPI's:
There are so many online sites which provide dummyAPI's for testing.
1. http://dummy.restapiexample.com/
2. https://reqres.in/api/users?page=2
Note:
we can easily find out most important http methods – GET, POST, PUT, DELETE in above
links.
Workspace in
Postman
• Workspaces allow you to organize your
Postman work and collaborate with
teammates.
• Personal workspaces are visible only to
you—with a Postman_accountyou can
create unlimited workspaces. With
team workspaces, you can share and
manage access to project components
with collaborators.
Creating a new workspace: Way 1
• 1. To create a new
workspace, select the
workspace dropdown menu at
the left of Postman, and
click New Workspace.
2.Use the visibility dropdown to choose a Team, Private or Personal and To create a personal workspace, enter the
workspace name and summary. Select the visibility dropdown menu and choose Personal.
2. To create a team workspace,
enter the workspace name and
summary. Select the visibility
dropdown menu and
choose Team.Add collaborators
by entering their email addresses,
then define their workspace roles
Note:
You can add elements to the
workspace and invite new
members using the Invite button
at the top at any time.
Creatinga new
workspace:Way2
You can also createa new workspace in the Workspaces dashboard.
Click the New buttonabove the navigation bar, select Workspace and follow
the same steps.
TestingGET
Request
• To test this we will have to use
GET request.
• For sample requests,
visit https://reqres.in/
• Make a collection in Postman —
 To make a collection in Postman,
click on New->Collection-
>CollectionDemo(Any Collection
Name you wish)->Create
• Make a Request — To make a
request, click on New->Request-
>GetUser(Anyrequestname you
wish)->Selectthe Collectionyou
wish to save request in(Present in
bottom of dialog box)->Save to
Collection Demo
• By now, we have created our
first request, now we need
to pass different parameters
in the request to get the
expected response.
• In the “Enter Request URL”
text box type
: https://reqres.in/api/users?
page=2
• Click on “Send” Button
How to
validate Get
Request
• We can write snippet of code to validate the GET request in
the postman tool.
• Steps:
Click on Tests(availablebelow to URL textbox in postman)
and add the code.
• 1. tests["Validating Status Code"] = responseCode.code
== 200;
2. tests["Validating response body"] =
responseBody.has("data");
3. var response = JSON.parse(responseBody);
4. tests["page no"] = response.page ==2;
• Note: line no.2 says "data" will be validated in response
body, where ever it is present.
Line no.4 represent the specific row where page no. Needs
to be presented for validation.
TestingPOST
Requests
Now, suppose we need to create a user into a application
that means we are sending data or feeding data to an
application. For these type of requests we use POST
request. In POST request we send data/parameter in the
body of the request, and in response to that, API returns
some data to us which validates the user has been created.
The response can either be a success messageor the id of
the new user created and time when the user was created.
Post Request In
Postman
1. To make a POST request, click on New->Request-
>CreateUser(Any request name you wish)->Select
the Collection you wish to save request in(Present
in bottom of dialog box)->Save to Collection Demo
2. From the Dropdown select POST
3. In the “Enter Request URL” text box, type
: http://dummy.restapiexample.com/api/v1/create
4. Click on Body Tab and select “Raw” radio button
and json type,
In the text box, paste :
{
"name":"testersZone",
"salary":"25000",
"age":"27"
}
5. Click on Send button.
Response
Key Points:
• Some time we need authentication
like user id-password, access key etc
while sending post request. We can
practice those kind of post request
using below details.
• All the status code can be viewed in
detail way in given link:
https://developer.amazon.com/docs/
amazon-drive/ad-restful-api-
response-codes.html
1. Basic Auth:
https://postman-echo.com/basic-auth
username: postman
Password : password
2. API Key Auth:
https://api.openweathermap.org/data/2.5/forecast/daily?q=D
elhi&cnt=1
3. Bearer Token / OAuth 2.0
https://developer.github.com/v3/repos/
API Key/appid:fe9c5cddb7e01d747b4611c3fc9eaf2c
TestingPUT
Request
PUT is used to send data to a server to create/update a
resource.
The difference between POST and PUT is that PUT
requests are idempotent.
That is, calling the same PUT request multiple times will
always produce the same result. In contrast, calling a
POST request repeatedly have side effects of creating
the same resource multiple times.
Put Request In
Postman
1. To make a PUT request, click on New->Request-
>UpdateUser(Anyrequest name you wish)->Select the
Collection you wish to save request in(Present in bottom of
dialog box)->Save to Collection Demo
2. From the Dropdown select PUT
3. In the “Enter Request URL” text box, type
: http://dummy.restapiexample.com/api/v1/update/5281
Note: 5281 is a id of user which we have created in post
request.Now we want to update salaryand age of that user.
4. Click on Body Tab and select “Raw” radio button and json
type,
In the text box, paste :
{
"name":"testersZone",
"salary":"45000",
"age":"30"
}
5. Click on Send button.
TestingDelete
Request
"The DELETE method deletes the specifiedresource."
1. To make a DELETE request, click on New->Request-
>DeleteUser(Any requestname you wish)->Select
the Collectionyou wish to save request in(Presentin bottom
of dialog box)->Save to CollectionDemo
2. From the Dropdown select DELETE
3. In the “Enter Request URL” text box,
type : http://dummy.restapiexample.com/api/v1/delete/5281
Note: 5281 is a id of user which we have createdin
post request.Nowwe want to delete that user.
5. Click on Send button.
A PATCH request also modifies an existing resourcebut it only contains the data
that needs to be changed.
Note
Request Body: In patch we pass
only those key value pair which
needs to be updated.
{
"salary":"45000",
"age":"30"
}
VerifyResponseHeader'svaluesunderpostman
• Here is the few lines of code which we can use:
To verify the header content we have to use below javascript code
pm.test("check Content-Type header", function()
{
pm.response.to.be.header("Content-Type","application/json");
})
Above code will verify the content-Type's value. Observe in attachment.
Note:
Where I should write this code?
Ans: Under Tests option in the
postman.
Observe in the attachment
Data DrivenTesting In Postman
• Data-driven testing is when we have
one test that we run multiple times
with different data variables.
• We can put those data variables in
the csv or notepad file and use that
file in postman
Steps:
Pre-requisite: create a csv file as
per post request body(also know
as payload) and save it in system.
• Click on Runner option available at top
left corner next to import option-->
select the collection folder--> select the
request under the collection folder-->
put iteration value(total no of times you
want to repeat this request)--> Select
File(created csv file) in Data option-->
Click on Run.
Request will take the data variables from
the csv file and access the request as per
iteration value.
Observe the attachment in next slide.
**online json to csv or csv to json conversionlink:
https://csvjson.com/csv2json
https://csvjson.com/json2csv
Please remember:
since we are taking
data variablesfrom the
csv file we have to use
key in request payload
as mentioned below:
{
"name":"{{name}}",
"salary":"{{salary}}",
"age":"{{age}}"
}
Runthe collectionin
postmanthrough
Runneroption
• 1. select the collection
• 2. select the request--> click on
tests option and use the below
command.
postman.setNextRequest(<name
of API request>);
This will help to execute the
mentioned api before the current
one.
Steps:
1. go to the runner option in postman.
2. Select the collection
3. provide the iteration and delay time(ms)
and Run.
Note:
1. All the available request in the collection
will execute one by one as per order of
creation.
2. We can also change the order of
execution as per our wish.
Steps:
Execute postmancollectionfromcommandsline
• Pre-requisite:
1. Install node.js
• follow this link to install the node.js
https://nodejs.org/en/download/
• Verify the installation using command node -
v
• NPM comes as a bundle under node.js so
npm can be used to install and node module
• syntax npm install <module name>
2. Install newman
• npm install -g newman
• To generate the html report
npm install newman-reporter-
html
3. Export collection and then run
from command prompt.
Note:How to exportcollection??
right click on collection->
Export-> mention the
location and save.
4. Navigate to that location in local system and
open the cmd and use this command
newman run <exported collection file name>.
***If we want to generate the html report of the execution use this command and check the report under the
newman folder in your system.
newman run <exported collection file> -r html.
Execute collection
remotely- without
exporting it
For that we need to get the url of the collectiom
• 1. Click on three dot's available right side of the collection--> select
the collection
• 2. Click on shared the link--> get publiclink
• use this publiclinkto execute the collection.
• command: newman run <Url > -r html [it will generate report also].
Variablesconceptin postman:
1. Collection variables/Global variables.
2. Environment variables.
----------------------------------------------------------------
• Collection variables:
• Way1:
• Steps:
• Click on three dot's available right on the
collection--> click on edit
• --> click on variable option--> set the variable in
key value pair.
• Note: Use same variable name in the request
with syntax {{<variable name>}}.
• Way2:
• Steps:(Global variable)
• Click on three dot's available right on the
collection--> click on edit
• --> Click on pre request scripts-->add the below
line of code for environment variable
• postman.setGlobalVariable("variable
name","value")
2. Environment Variable:
we can create a environment variable and use it in any collection.
Steps to create Environment Variable:
1. Click on manage Environments icon(top right next to eye icon)-- click on add option.
Provide the Environment name and create a variable under this environment.
later we can use this environment variable under any collection in the postman.
Note:while using the collection using runner we can select environment variable from the
dropdown
Postman Tool
Advantages
• 1) In postman it is easy to create test suits.We can create
various test suits which contains multiple integrationtests
• 2) There are multiple test cases which are dependent on
each other i.e some times one test case require test data
from other test cases so in that case postman store data for
them
• 3) Some time we need to require different environments on
which we run test cases so postman store information for
those test cases
• 4) We can also integrate postman with different tools like
Jenkins
• 5) One of the most important advantage ofpostman is we
can easilymove test case from one system to another system
also one environment to other
• There are also various disadvantages ofPostman testingtool:
Disadvantages
• 1) Postman has a disadvantage when it comes to monitoring
of test cases. There are some other tools like Assertible which
makes this task easy.
Mithilesh Singh

More Related Content

What's hot

B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testingb4usolution .
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postmanAbhishek Saxena
 
Test Design and Automation for REST API
Test Design and Automation for REST APITest Design and Automation for REST API
Test Design and Automation for REST APIIvan Katunou
 
Postman Introduction
Postman IntroductionPostman Introduction
Postman IntroductionRahul Agarwal
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...Postman
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101Nikita Sharma
 
API Testing for everyone.pptx
API Testing for everyone.pptxAPI Testing for everyone.pptx
API Testing for everyone.pptxPricilla Bilavendran
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioHYS Enterprise
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with PostmanPostman
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsQASymphony
 
API Testing Using REST Assured with TestNG
API Testing Using REST Assured with TestNGAPI Testing Using REST Assured with TestNG
API Testing Using REST Assured with TestNGSiddharth Sharma
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API TestingBruno Pedro
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for StudentsPostman
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract TestingPostman
 
Test your microservices with REST-Assured
Test your microservices with REST-AssuredTest your microservices with REST-Assured
Test your microservices with REST-AssuredMichel Schudel
 

What's hot (20)

B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testing
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
 
Api Testing
Api TestingApi Testing
Api Testing
 
Test Design and Automation for REST API
Test Design and Automation for REST APITest Design and Automation for REST API
Test Design and Automation for REST API
 
Postman Introduction
Postman IntroductionPostman Introduction
Postman Introduction
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101
 
API Testing
API TestingAPI Testing
API Testing
 
API Testing for everyone.pptx
API Testing for everyone.pptxAPI Testing for everyone.pptx
API Testing for everyone.pptx
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with Postman
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 
Api Testing
Api TestingApi Testing
Api Testing
 
Rest assured
Rest assuredRest assured
Rest assured
 
API Testing Using REST Assured with TestNG
API Testing Using REST Assured with TestNGAPI Testing Using REST Assured with TestNG
API Testing Using REST Assured with TestNG
 
Api testing
Api testingApi testing
Api testing
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for Students
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract Testing
 
Test your microservices with REST-Assured
Test your microservices with REST-AssuredTest your microservices with REST-Assured
Test your microservices with REST-Assured
 

Similar to API_Testing_with_Postman

Test automation of ap is using postman
Test automation of ap is using postmanTest automation of ap is using postman
Test automation of ap is using postmanBugRaptors
 
.NET Core, ASP.NET Core Course, Session 19
 .NET Core, ASP.NET Core Course, Session 19 .NET Core, ASP.NET Core Course, Session 19
.NET Core, ASP.NET Core Course, Session 19aminmesbahi
 
Web PenTest Sample Report
Web PenTest Sample ReportWeb PenTest Sample Report
Web PenTest Sample ReportOctogence
 
Web Services PHP Tutorial
Web Services PHP TutorialWeb Services PHP Tutorial
Web Services PHP TutorialLorna Mitchell
 
Api design and development
Api design and developmentApi design and development
Api design and developmentoquidave
 
How to build Simple yet powerful API.pptx
How to build Simple yet powerful API.pptxHow to build Simple yet powerful API.pptx
How to build Simple yet powerful API.pptxChanna Ly
 
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web servicesmwinteringham
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptxAgungSutikno1
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptxAkashThorat25
 
POST/CON 2019 Workshop: Fundamentals
POST/CON 2019 Workshop: FundamentalsPOST/CON 2019 Workshop: Fundamentals
POST/CON 2019 Workshop: FundamentalsPostman
 
Sumo Logic Search Job API
Sumo Logic Search Job APISumo Logic Search Job API
Sumo Logic Search Job APISumo Logic
 
Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with ODataMahek Merchant
 
Php and web forms
Php and web formsPhp and web forms
Php and web formssana mateen
 
Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle Gaurav Bhardwaj
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015Nacho Daza
 
SCWCD : The servlet model CHAP : 2
SCWCD : The servlet model CHAP : 2SCWCD : The servlet model CHAP : 2
SCWCD : The servlet model CHAP : 2Ben Abdallah Helmi
 
SCWCD : The web client model
SCWCD : The web client modelSCWCD : The web client model
SCWCD : The web client modelBen Abdallah Helmi
 
Web api 2 With MVC 5 With TrainerKrunal
Web api 2 With MVC 5 With TrainerKrunalWeb api 2 With MVC 5 With TrainerKrunal
Web api 2 With MVC 5 With TrainerKrunalKrunal Trivedi
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptxSherinRappai
 

Similar to API_Testing_with_Postman (20)

Test automation of ap is using postman
Test automation of ap is using postmanTest automation of ap is using postman
Test automation of ap is using postman
 
.NET Core, ASP.NET Core Course, Session 19
 .NET Core, ASP.NET Core Course, Session 19 .NET Core, ASP.NET Core Course, Session 19
.NET Core, ASP.NET Core Course, Session 19
 
Web PenTest Sample Report
Web PenTest Sample ReportWeb PenTest Sample Report
Web PenTest Sample Report
 
Web Services PHP Tutorial
Web Services PHP TutorialWeb Services PHP Tutorial
Web Services PHP Tutorial
 
Api design and development
Api design and developmentApi design and development
Api design and development
 
How to build Simple yet powerful API.pptx
How to build Simple yet powerful API.pptxHow to build Simple yet powerful API.pptx
How to build Simple yet powerful API.pptx
 
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web services
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptx
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
 
POST/CON 2019 Workshop: Fundamentals
POST/CON 2019 Workshop: FundamentalsPOST/CON 2019 Workshop: Fundamentals
POST/CON 2019 Workshop: Fundamentals
 
Sumo Logic Search Job API
Sumo Logic Search Job APISumo Logic Search Job API
Sumo Logic Search Job API
 
Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with OData
 
Php and web forms
Php and web formsPhp and web forms
Php and web forms
 
Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle
 
REST API Basics
REST API BasicsREST API Basics
REST API Basics
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015
 
SCWCD : The servlet model CHAP : 2
SCWCD : The servlet model CHAP : 2SCWCD : The servlet model CHAP : 2
SCWCD : The servlet model CHAP : 2
 
SCWCD : The web client model
SCWCD : The web client modelSCWCD : The web client model
SCWCD : The web client model
 
Web api 2 With MVC 5 With TrainerKrunal
Web api 2 With MVC 5 With TrainerKrunalWeb api 2 With MVC 5 With TrainerKrunal
Web api 2 With MVC 5 With TrainerKrunal
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptx
 

More from Mithilesh Singh

Cucumber Basics.pdf
Cucumber Basics.pdfCucumber Basics.pdf
Cucumber Basics.pdfMithilesh Singh
 
Data Migration.pdf
Data Migration.pdfData Migration.pdf
Data Migration.pdfMithilesh Singh
 
Test_Case_Design_Techniques
Test_Case_Design_TechniquesTest_Case_Design_Techniques
Test_Case_Design_TechniquesMithilesh Singh
 
Performance Testing
Performance TestingPerformance Testing
Performance TestingMithilesh Singh
 
Software_requirement_collection
Software_requirement_collectionSoftware_requirement_collection
Software_requirement_collectionMithilesh Singh
 
Functional_Testing_Part-1
Functional_Testing_Part-1Functional_Testing_Part-1
Functional_Testing_Part-1Mithilesh Singh
 
TestersMindSet 2022
TestersMindSet 2022TestersMindSet 2022
TestersMindSet 2022Mithilesh Singh
 
Alpha & Beta Testing
Alpha & Beta TestingAlpha & Beta Testing
Alpha & Beta TestingMithilesh Singh
 
Severity and Priority
Severity and PrioritySeverity and Priority
Severity and PriorityMithilesh Singh
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_IntroMithilesh Singh
 
UI_UX_testing tips
UI_UX_testing tipsUI_UX_testing tips
UI_UX_testing tipsMithilesh Singh
 
Emulator vs Simulator
Emulator vs SimulatorEmulator vs Simulator
Emulator vs SimulatorMithilesh Singh
 

More from Mithilesh Singh (20)

Cucumber Basics.pdf
Cucumber Basics.pdfCucumber Basics.pdf
Cucumber Basics.pdf
 
Data Migration.pdf
Data Migration.pdfData Migration.pdf
Data Migration.pdf
 
SDLC Models.pdf
SDLC Models.pdfSDLC Models.pdf
SDLC Models.pdf
 
Test_Case_Design_Techniques
Test_Case_Design_TechniquesTest_Case_Design_Techniques
Test_Case_Design_Techniques
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Software_requirement_collection
Software_requirement_collectionSoftware_requirement_collection
Software_requirement_collection
 
Stub_&_Drive
Stub_&_DriveStub_&_Drive
Stub_&_Drive
 
Functional_Testing_Part-1
Functional_Testing_Part-1Functional_Testing_Part-1
Functional_Testing_Part-1
 
TestersMindSet 2022
TestersMindSet 2022TestersMindSet 2022
TestersMindSet 2022
 
Agile_basics
Agile_basicsAgile_basics
Agile_basics
 
Selenium_Grid
Selenium_GridSelenium_Grid
Selenium_Grid
 
Appium_set_up
Appium_set_upAppium_set_up
Appium_set_up
 
Appium- part 1
Appium- part 1Appium- part 1
Appium- part 1
 
Alpha & Beta Testing
Alpha & Beta TestingAlpha & Beta Testing
Alpha & Beta Testing
 
Severity and Priority
Severity and PrioritySeverity and Priority
Severity and Priority
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
Selenium-Locators
Selenium-LocatorsSelenium-Locators
Selenium-Locators
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
 
UI_UX_testing tips
UI_UX_testing tipsUI_UX_testing tips
UI_UX_testing tips
 
Emulator vs Simulator
Emulator vs SimulatorEmulator vs Simulator
Emulator vs Simulator
 

Recently uploaded

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 

Recently uploaded (20)

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 

API_Testing_with_Postman

  • 1.
  • 2.
  • 3. Postman • Postman is a standalone software testing API (Application Programming Interface) platform to build, test, design, modify, and document APIs. Note: Application Programming Interface (API) is software that acts as an intermediary for two apps to communicate with each other. We use APIs whenever we use an application like Twitter, Facebook, sending text messages, or checking the weather over the phone. • Postman can be downloaded from this link: https://www.postman.com/downloads/
  • 4. Http Request • HTTP (Hypertext Transfer Protocol), is the underlying format that is used to structure request and responses for effective communicationbetween a client and a server. The message that is sent by a client to a server is what is known as an HTTP request. When these requests are being sent, clients can use various methods. • An HTTP request is an action to be performed on a resource identified by a given Request-URL. Request methods are case-sensitive, and should always be noted in upper case. There are various HTTP request methods, but each one is assigned a specific purpose.
  • 5. 1. GET methodis used to retrieve whatever information is identified by the Request-URL. 2. POSTrequests are utilized to send data to a server to create or update a resource. 3. PUT is similar to POST as it is used to send data to the server to create or update a resource. 4. DELETErequest method is used to delete resources indicated by a specific URL. Note: A PATCH request is similar to POST and PUT. However,its primary purpose is to apply partial modifications to the resource
  • 6. GET vs POST Request Methods GET • Has restriction on data type as the only allowed data type is ASCII characters • Can be bookmarked. • maximum URL length is 2048 characters. • Can be cached POST • There is no restriction on data type, and binary data is also allowed • Cannot be bookmarked. • There are no restriction on data length. • Can’t be cached
  • 7. Basic Understanding: • URI( Uniform Resource Identifiers). e.g. https://reqres.in/api/users?page=2 • URL( Uniform Resource Locators). e.g. https://reqres.in---> Domain • /api/users ---> Path parameters( It will get the data from the server based on path which we provided). • ?page=2 ---> Query Parameters(It will filter the data). Note: We will be using regres dummy API for learning API testing through Postman.
  • 8. DummyAPI's: There are so many online sites which provide dummyAPI's for testing. 1. http://dummy.restapiexample.com/ 2. https://reqres.in/api/users?page=2 Note: we can easily find out most important http methods – GET, POST, PUT, DELETE in above links.
  • 9. Workspace in Postman • Workspaces allow you to organize your Postman work and collaborate with teammates. • Personal workspaces are visible only to you—with a Postman_accountyou can create unlimited workspaces. With team workspaces, you can share and manage access to project components with collaborators.
  • 10. Creating a new workspace: Way 1 • 1. To create a new workspace, select the workspace dropdown menu at the left of Postman, and click New Workspace.
  • 11. 2.Use the visibility dropdown to choose a Team, Private or Personal and To create a personal workspace, enter the workspace name and summary. Select the visibility dropdown menu and choose Personal.
  • 12. 2. To create a team workspace, enter the workspace name and summary. Select the visibility dropdown menu and choose Team.Add collaborators by entering their email addresses, then define their workspace roles Note: You can add elements to the workspace and invite new members using the Invite button at the top at any time.
  • 13. Creatinga new workspace:Way2 You can also createa new workspace in the Workspaces dashboard. Click the New buttonabove the navigation bar, select Workspace and follow the same steps.
  • 14. TestingGET Request • To test this we will have to use GET request. • For sample requests, visit https://reqres.in/ • Make a collection in Postman —  To make a collection in Postman, click on New->Collection- >CollectionDemo(Any Collection Name you wish)->Create • Make a Request — To make a request, click on New->Request- >GetUser(Anyrequestname you wish)->Selectthe Collectionyou wish to save request in(Present in bottom of dialog box)->Save to Collection Demo • By now, we have created our first request, now we need to pass different parameters in the request to get the expected response. • In the “Enter Request URL” text box type : https://reqres.in/api/users? page=2 • Click on “Send” Button
  • 15.
  • 16.
  • 17. How to validate Get Request • We can write snippet of code to validate the GET request in the postman tool. • Steps: Click on Tests(availablebelow to URL textbox in postman) and add the code. • 1. tests["Validating Status Code"] = responseCode.code == 200; 2. tests["Validating response body"] = responseBody.has("data"); 3. var response = JSON.parse(responseBody); 4. tests["page no"] = response.page ==2; • Note: line no.2 says "data" will be validated in response body, where ever it is present. Line no.4 represent the specific row where page no. Needs to be presented for validation.
  • 18. TestingPOST Requests Now, suppose we need to create a user into a application that means we are sending data or feeding data to an application. For these type of requests we use POST request. In POST request we send data/parameter in the body of the request, and in response to that, API returns some data to us which validates the user has been created. The response can either be a success messageor the id of the new user created and time when the user was created.
  • 19. Post Request In Postman 1. To make a POST request, click on New->Request- >CreateUser(Any request name you wish)->Select the Collection you wish to save request in(Present in bottom of dialog box)->Save to Collection Demo 2. From the Dropdown select POST 3. In the “Enter Request URL” text box, type : http://dummy.restapiexample.com/api/v1/create 4. Click on Body Tab and select “Raw” radio button and json type, In the text box, paste : { "name":"testersZone", "salary":"25000", "age":"27" } 5. Click on Send button.
  • 21. Key Points: • Some time we need authentication like user id-password, access key etc while sending post request. We can practice those kind of post request using below details. • All the status code can be viewed in detail way in given link: https://developer.amazon.com/docs/ amazon-drive/ad-restful-api- response-codes.html 1. Basic Auth: https://postman-echo.com/basic-auth username: postman Password : password 2. API Key Auth: https://api.openweathermap.org/data/2.5/forecast/daily?q=D elhi&cnt=1 3. Bearer Token / OAuth 2.0 https://developer.github.com/v3/repos/ API Key/appid:fe9c5cddb7e01d747b4611c3fc9eaf2c
  • 22. TestingPUT Request PUT is used to send data to a server to create/update a resource. The difference between POST and PUT is that PUT requests are idempotent. That is, calling the same PUT request multiple times will always produce the same result. In contrast, calling a POST request repeatedly have side effects of creating the same resource multiple times.
  • 23. Put Request In Postman 1. To make a PUT request, click on New->Request- >UpdateUser(Anyrequest name you wish)->Select the Collection you wish to save request in(Present in bottom of dialog box)->Save to Collection Demo 2. From the Dropdown select PUT 3. In the “Enter Request URL” text box, type : http://dummy.restapiexample.com/api/v1/update/5281 Note: 5281 is a id of user which we have created in post request.Now we want to update salaryand age of that user. 4. Click on Body Tab and select “Raw” radio button and json type, In the text box, paste : { "name":"testersZone", "salary":"45000", "age":"30" } 5. Click on Send button.
  • 24.
  • 25. TestingDelete Request "The DELETE method deletes the specifiedresource." 1. To make a DELETE request, click on New->Request- >DeleteUser(Any requestname you wish)->Select the Collectionyou wish to save request in(Presentin bottom of dialog box)->Save to CollectionDemo 2. From the Dropdown select DELETE 3. In the “Enter Request URL” text box, type : http://dummy.restapiexample.com/api/v1/delete/5281 Note: 5281 is a id of user which we have createdin post request.Nowwe want to delete that user. 5. Click on Send button.
  • 26.
  • 27. A PATCH request also modifies an existing resourcebut it only contains the data that needs to be changed. Note Request Body: In patch we pass only those key value pair which needs to be updated. { "salary":"45000", "age":"30" }
  • 28. VerifyResponseHeader'svaluesunderpostman • Here is the few lines of code which we can use: To verify the header content we have to use below javascript code pm.test("check Content-Type header", function() { pm.response.to.be.header("Content-Type","application/json"); }) Above code will verify the content-Type's value. Observe in attachment. Note: Where I should write this code? Ans: Under Tests option in the postman. Observe in the attachment
  • 29. Data DrivenTesting In Postman • Data-driven testing is when we have one test that we run multiple times with different data variables. • We can put those data variables in the csv or notepad file and use that file in postman Steps: Pre-requisite: create a csv file as per post request body(also know as payload) and save it in system. • Click on Runner option available at top left corner next to import option--> select the collection folder--> select the request under the collection folder--> put iteration value(total no of times you want to repeat this request)--> Select File(created csv file) in Data option--> Click on Run. Request will take the data variables from the csv file and access the request as per iteration value. Observe the attachment in next slide. **online json to csv or csv to json conversionlink: https://csvjson.com/csv2json https://csvjson.com/json2csv
  • 30. Please remember: since we are taking data variablesfrom the csv file we have to use key in request payload as mentioned below: { "name":"{{name}}", "salary":"{{salary}}", "age":"{{age}}" }
  • 31. Runthe collectionin postmanthrough Runneroption • 1. select the collection • 2. select the request--> click on tests option and use the below command. postman.setNextRequest(<name of API request>); This will help to execute the mentioned api before the current one. Steps: 1. go to the runner option in postman. 2. Select the collection 3. provide the iteration and delay time(ms) and Run. Note: 1. All the available request in the collection will execute one by one as per order of creation. 2. We can also change the order of execution as per our wish. Steps:
  • 32. Execute postmancollectionfromcommandsline • Pre-requisite: 1. Install node.js • follow this link to install the node.js https://nodejs.org/en/download/ • Verify the installation using command node - v • NPM comes as a bundle under node.js so npm can be used to install and node module • syntax npm install <module name> 2. Install newman • npm install -g newman • To generate the html report npm install newman-reporter- html 3. Export collection and then run from command prompt. Note:How to exportcollection?? right click on collection-> Export-> mention the location and save. 4. Navigate to that location in local system and open the cmd and use this command newman run <exported collection file name>. ***If we want to generate the html report of the execution use this command and check the report under the newman folder in your system. newman run <exported collection file> -r html.
  • 33. Execute collection remotely- without exporting it For that we need to get the url of the collectiom • 1. Click on three dot's available right side of the collection--> select the collection • 2. Click on shared the link--> get publiclink • use this publiclinkto execute the collection. • command: newman run <Url > -r html [it will generate report also].
  • 34. Variablesconceptin postman: 1. Collection variables/Global variables. 2. Environment variables. ---------------------------------------------------------------- • Collection variables: • Way1: • Steps: • Click on three dot's available right on the collection--> click on edit • --> click on variable option--> set the variable in key value pair. • Note: Use same variable name in the request with syntax {{<variable name>}}. • Way2: • Steps:(Global variable) • Click on three dot's available right on the collection--> click on edit • --> Click on pre request scripts-->add the below line of code for environment variable • postman.setGlobalVariable("variable name","value")
  • 35. 2. Environment Variable: we can create a environment variable and use it in any collection. Steps to create Environment Variable: 1. Click on manage Environments icon(top right next to eye icon)-- click on add option. Provide the Environment name and create a variable under this environment. later we can use this environment variable under any collection in the postman. Note:while using the collection using runner we can select environment variable from the dropdown
  • 36. Postman Tool Advantages • 1) In postman it is easy to create test suits.We can create various test suits which contains multiple integrationtests • 2) There are multiple test cases which are dependent on each other i.e some times one test case require test data from other test cases so in that case postman store data for them • 3) Some time we need to require different environments on which we run test cases so postman store information for those test cases • 4) We can also integrate postman with different tools like Jenkins • 5) One of the most important advantage ofpostman is we can easilymove test case from one system to another system also one environment to other • There are also various disadvantages ofPostman testingtool: Disadvantages • 1) Postman has a disadvantage when it comes to monitoring of test cases. There are some other tools like Assertible which makes this task easy.