SlideShare ist ein Scribd-Unternehmen logo
1 von 17
POSTMAN
BY
Karthick Sankaran
Selvaraj Baskaran
WHAT IS POSTMAN?
• Postman is an API platform for building and using APIs.
• Postman simplifies each step of the API lifecycle and streamlines
collaboration so you can create better APIs—faster.
• We can download Postman using the below link
https://www.postman.com/downloads/
• You can also add Postman to your chrome extension using
https://chrome.google.com/webstore/category/extensions
WHY USE POSTMAN?
• User-friendliness - With a simple interface, testers can quickly create test suites by filling in
templates.
• Accessibility - Postman users can access their files seamlessly by logging into their account
on a device with the Postman application installed or Postman browser extension.
• Various functionalities - Postman supports all possible HTTP methods, saving progress,
converting from APIs to code, changing the API development environment, and many
others.
• Request tracking capabilities - For HTTP Response in Postman, it supports several status
codes for users to verify the response. They are Successful requests, Empty response, Bad
request, and Unauthorized access, to mention but a few.
POSTMAN FEATURES
The image is the Postman Workspace. Let’s
explore the step by step process on How to
use Postman and different features of the
Postman tool!
POSTMAN FEATURES(Cont..)
1. New – This is where you will create a new request, collection or environment.
2. Import – This is used to import a collection or environment. There are options such as
import from file, folder, link or paste raw text.
3. Request tab – This displays the title of the request you are working on. By default,
“Untitled Request” would be displayed for requests without titles..
4. Open New – Open a new tab, Postman Window or Runner Window by clicking this
button.
5. HTTP Request – Clicking this would display a dropdown list of different requests such
as GET, POST, COPY, DELETE, etc. In Postman API testing, the most commonly used
requests are GET and POST.
POSTMAN FEATURES(Cont..)
6. Request URL – Also known as an endpoint, this is where you will identify the
link to where the API will communicate with.
7. Send – Used to Send the API Request.
8. Params – This is where you will write parameters needed for a request such as key
values.
9. Authorization – In order to access APIs, proper authorization is needed. It may
be in the form of a username and password, bearer token, etc.
10. Headers – You can set headers such as content type JSON depending on the
needs of the organization.
POSTMAN FEATURES (Cont..)
11. Body – This is where one can customize details in a request commonly
used in POST request.
12. Pre-request Script – These are scripts that will be executed before the
request. Usually, pre-request scripts for the setting environment are used to
ensure that tests will be run in the correct environment.
13. Tests – These are scripts executed during the request. It is important to
have tests as it sets up checkpoints to verify if response status is ok,
retrieved data is as expected and other tests.
POSTMAN Features(Cont..)
14. Settings – Settings is used to check default settings of the API request and gives
opportunity to enable SSL certificate.
15. Save – If there are changes to a request, clicking save is a must so that new
changes will not be lost or overwritten.
16. Collections – Organize your test suite by creating collections. Each collection may
have subfolders and multiple requests. A request or folder can also be duplicated
as well.
17. History – Past requests that you have sent will be displayed in History. This makes
it easy to track actions that you have done.
HTTP REQUESTS
• GET- GET is used to retrieve and request data from a specified resource in
a server. GET is one of the most popular HTTP request techniques. In
simple words, the GET method is used to retrieve whatever information is
identified by the Request-URL.
• POST - POST requests are utilized to send data to a server to create or
update a resource. The information submitted to the server with POST
request method is archived in the request body of the HTTP request
HTTP REQUESTS
• PUT- PUT is similar to POST as it is used to send data to the server to create or
update a resource. The difference between the two is that PUT requests are
idempotent. This means that if you call the same PUT requests multiple times, the
results will always be the same.
• DELETE- Just as it sounds, the DELETE request method is used to delete
resources indicated by a specific URL. Making a DELETE request will remove the
targeted resource.
• Postman also supports various other requests like HEAD, OPTIONS,
COPY,PATCH, LOCK, VIEW etc.
HTTP Response Codes
• 200: successful request.
• 400: This is used for Bad Request. If you
enter something wrong or you missed some
required parameters, then the request would
not be understood by the server, and you will
get 400 status code.
• 401: This is used for Unauthorized Access. If
the request authentication failed or the user
does not have permissions for the requested
operations, then you will get a 401 status
code.
• 403: This is for Forbidden or Access Denied.
• 404: This will come if the Data Not Found.
• 405: This will come if the method not
allowed or if the requested method is not
supported.
• 500: This code is used for Internal Server
Error.
• 503: And this code is used for Service
Unavailable.
WHERE WE HAVE USED POSTMAN
• AutoIndexing (General Claims & Premium Finance) – We tested the API call
to update the adjuster and task description on Imageright.
• Claims Notes Details – Used to test the API Call hosted on AWS API
Gateway + Lambda function to retrieve the results from Elastic Search
• Producer Match – Used to test the API call hosted on CloudAPIHub to
check for a match on Producer one and Submission
DEMO API Call Description
• Demo API Call 1 : Used to update the taskdescription field on Imageright
• Demo API Call 2: Used to retrieve the results from AWS Elastic Search
based on User input which is developed on Python and hosted on AWS API
Gateway integrated with AWS Lambda
• Demo API Call 3: Used to retrieve the results from AWS Elastic Search
based on User input which is developed on Python and hosted on AWS API
Gateway integrated with AWS Lambda
DEMO TESTING THE API CALL
Similar API Management Tools
• Gravitee – C&F has developed Internal API Hub using Gravitee platform.
For more information, please visit Internal Cloud API Hub - Digital Strategy
and Delivery - Confluence (cfins.com)
• SwaggerHUB
• ReadMe
• OpenAPIViewer
Q & A
POSTMAN.pptx

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

API Test Automation
API Test Automation API Test Automation
API Test Automation
 
API Testing Presentations.pptx
API Testing Presentations.pptxAPI Testing Presentations.pptx
API Testing Presentations.pptx
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
Api Testing
Api TestingApi Testing
Api Testing
 
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
 
Belajar Postman test runner
Belajar Postman test runnerBelajar Postman test runner
Belajar Postman test runner
 
API TESTING
API TESTINGAPI TESTING
API TESTING
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated 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. 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
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - Basics
 
Using Postman to Automate API On-Boarding
Using Postman to Automate API On-BoardingUsing Postman to Automate API On-Boarding
Using Postman to Automate API On-Boarding
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”
 
4 Major Advantages of API Testing
4 Major Advantages of API Testing4 Major Advantages of API Testing
4 Major Advantages of API Testing
 
B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testing
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for Students
 
An introduction to api testing | David Tzemach
An introduction to api testing | David TzemachAn introduction to api testing | David Tzemach
An introduction to api testing | David Tzemach
 

Ähnlich wie POSTMAN.pptx

REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API Recommendations
Jeelani Shaik
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
AkashThorat25
 

Ähnlich wie POSTMAN.pptx (20)

Postman.ppt
Postman.pptPostman.ppt
Postman.ppt
 
(ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service (ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API Recommendations
 
How To Webinar - Sumo Logic API
How To Webinar - Sumo Logic APIHow To Webinar - Sumo Logic API
How To Webinar - Sumo Logic API
 
Sumo Logic Search Job API
Sumo Logic Search Job APISumo Logic Search Job API
Sumo Logic Search Job API
 
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
 
Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with OData
 
Api security-testing
Api security-testingApi security-testing
Api security-testing
 
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
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
 
A Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API TestingA Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API Testing
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
 
Build and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API GatewayBuild and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API Gateway
 
Webservices Testing PPT.pdf
Webservices Testing PPT.pdfWebservices Testing PPT.pdf
Webservices Testing PPT.pdf
 
Pragmatic REST APIs
Pragmatic REST APIsPragmatic REST APIs
Pragmatic REST APIs
 
REST API Basics
REST API BasicsREST API Basics
REST API Basics
 
Api testing
Api testingApi testing
Api testing
 
Aws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API GatewayAws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API Gateway
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

POSTMAN.pptx

  • 2. WHAT IS POSTMAN? • Postman is an API platform for building and using APIs. • Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster. • We can download Postman using the below link https://www.postman.com/downloads/ • You can also add Postman to your chrome extension using https://chrome.google.com/webstore/category/extensions
  • 3. WHY USE POSTMAN? • User-friendliness - With a simple interface, testers can quickly create test suites by filling in templates. • Accessibility - Postman users can access their files seamlessly by logging into their account on a device with the Postman application installed or Postman browser extension. • Various functionalities - Postman supports all possible HTTP methods, saving progress, converting from APIs to code, changing the API development environment, and many others. • Request tracking capabilities - For HTTP Response in Postman, it supports several status codes for users to verify the response. They are Successful requests, Empty response, Bad request, and Unauthorized access, to mention but a few.
  • 4. POSTMAN FEATURES The image is the Postman Workspace. Let’s explore the step by step process on How to use Postman and different features of the Postman tool!
  • 5. POSTMAN FEATURES(Cont..) 1. New – This is where you will create a new request, collection or environment. 2. Import – This is used to import a collection or environment. There are options such as import from file, folder, link or paste raw text. 3. Request tab – This displays the title of the request you are working on. By default, “Untitled Request” would be displayed for requests without titles.. 4. Open New – Open a new tab, Postman Window or Runner Window by clicking this button. 5. HTTP Request – Clicking this would display a dropdown list of different requests such as GET, POST, COPY, DELETE, etc. In Postman API testing, the most commonly used requests are GET and POST.
  • 6. POSTMAN FEATURES(Cont..) 6. Request URL – Also known as an endpoint, this is where you will identify the link to where the API will communicate with. 7. Send – Used to Send the API Request. 8. Params – This is where you will write parameters needed for a request such as key values. 9. Authorization – In order to access APIs, proper authorization is needed. It may be in the form of a username and password, bearer token, etc. 10. Headers – You can set headers such as content type JSON depending on the needs of the organization.
  • 7. POSTMAN FEATURES (Cont..) 11. Body – This is where one can customize details in a request commonly used in POST request. 12. Pre-request Script – These are scripts that will be executed before the request. Usually, pre-request scripts for the setting environment are used to ensure that tests will be run in the correct environment. 13. Tests – These are scripts executed during the request. It is important to have tests as it sets up checkpoints to verify if response status is ok, retrieved data is as expected and other tests.
  • 8. POSTMAN Features(Cont..) 14. Settings – Settings is used to check default settings of the API request and gives opportunity to enable SSL certificate. 15. Save – If there are changes to a request, clicking save is a must so that new changes will not be lost or overwritten. 16. Collections – Organize your test suite by creating collections. Each collection may have subfolders and multiple requests. A request or folder can also be duplicated as well. 17. History – Past requests that you have sent will be displayed in History. This makes it easy to track actions that you have done.
  • 9. HTTP REQUESTS • GET- GET is used to retrieve and request data from a specified resource in a server. GET is one of the most popular HTTP request techniques. In simple words, the GET method is used to retrieve whatever information is identified by the Request-URL. • POST - POST requests are utilized to send data to a server to create or update a resource. The information submitted to the server with POST request method is archived in the request body of the HTTP request
  • 10. HTTP REQUESTS • PUT- PUT is similar to POST as it is used to send data to the server to create or update a resource. The difference between the two is that PUT requests are idempotent. This means that if you call the same PUT requests multiple times, the results will always be the same. • DELETE- Just as it sounds, the DELETE request method is used to delete resources indicated by a specific URL. Making a DELETE request will remove the targeted resource. • Postman also supports various other requests like HEAD, OPTIONS, COPY,PATCH, LOCK, VIEW etc.
  • 11. HTTP Response Codes • 200: successful request. • 400: This is used for Bad Request. If you enter something wrong or you missed some required parameters, then the request would not be understood by the server, and you will get 400 status code. • 401: This is used for Unauthorized Access. If the request authentication failed or the user does not have permissions for the requested operations, then you will get a 401 status code. • 403: This is for Forbidden or Access Denied. • 404: This will come if the Data Not Found. • 405: This will come if the method not allowed or if the requested method is not supported. • 500: This code is used for Internal Server Error. • 503: And this code is used for Service Unavailable.
  • 12. WHERE WE HAVE USED POSTMAN • AutoIndexing (General Claims & Premium Finance) – We tested the API call to update the adjuster and task description on Imageright. • Claims Notes Details – Used to test the API Call hosted on AWS API Gateway + Lambda function to retrieve the results from Elastic Search • Producer Match – Used to test the API call hosted on CloudAPIHub to check for a match on Producer one and Submission
  • 13. DEMO API Call Description • Demo API Call 1 : Used to update the taskdescription field on Imageright • Demo API Call 2: Used to retrieve the results from AWS Elastic Search based on User input which is developed on Python and hosted on AWS API Gateway integrated with AWS Lambda • Demo API Call 3: Used to retrieve the results from AWS Elastic Search based on User input which is developed on Python and hosted on AWS API Gateway integrated with AWS Lambda
  • 14. DEMO TESTING THE API CALL
  • 15. Similar API Management Tools • Gravitee – C&F has developed Internal API Hub using Gravitee platform. For more information, please visit Internal Cloud API Hub - Digital Strategy and Delivery - Confluence (cfins.com) • SwaggerHUB • ReadMe • OpenAPIViewer
  • 16. Q & A