SlideShare una empresa de Scribd logo
1 de 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 API Testing Tool Guide for Beginners

Más contenido relacionado

La actualidad más candente

Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for StudentsPostman
 
API Testing. Streamline your testing process.
API Testing. Streamline your testing process.API Testing. Streamline your testing process.
API Testing. Streamline your testing process.Andrey Oleynik
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101Nikita Sharma
 
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
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_PostmanMithilesh Singh
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postmanAbhishek Saxena
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API TestingSauce Labs
 
API Testing Presentations.pptx
API Testing Presentations.pptxAPI Testing Presentations.pptx
API Testing Presentations.pptxManmitSalunke
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman
 
API Test Automation
API Test Automation API Test Automation
API Test Automation SQALab
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsKnoldus Inc.
 
Postman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman
 
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 RollisonTEST Huddle
 
Driving Pipeline Automation With Newman and the Postman API
Driving Pipeline Automation With Newman and the Postman APIDriving Pipeline Automation With Newman and the Postman API
Driving Pipeline Automation With Newman and the Postman APIPostman
 

La actualidad más candente (20)

Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for Students
 
API Testing
API TestingAPI Testing
API Testing
 
API Testing. Streamline your testing process.
API Testing. Streamline your testing process.API Testing. Streamline your testing process.
API Testing. Streamline your testing process.
 
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
 
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
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API Testing
 
Api Testing
Api TestingApi Testing
Api Testing
 
API Testing Presentations.pptx
API Testing Presentations.pptxAPI Testing Presentations.pptx
API Testing Presentations.pptx
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - Basics
 
Postman
PostmanPostman
Postman
 
Postman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman & API Testing by Amber Race
Postman & API Testing by Amber Race
 
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
 
Driving Pipeline Automation With Newman and the Postman API
Driving Pipeline Automation With Newman and the Postman APIDriving Pipeline Automation With Newman and the Postman API
Driving Pipeline Automation With Newman and the Postman API
 

Similar a Postman API Testing Tool Guide for Beginners

(ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service (ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service BIOVIA
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API RecommendationsJeelani Shaik
 
How To Webinar - Sumo Logic API
How To Webinar - Sumo Logic APIHow To Webinar - Sumo Logic API
How To Webinar - Sumo Logic APISumo Logic
 
Sumo Logic Search Job API
Sumo Logic Search Job APISumo Logic Search Job API
Sumo Logic Search Job APISumo Logic
 
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...Jitendra Bafna
 
Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with ODataMahek Merchant
 
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
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptxAkashThorat25
 
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 TestingpCloudy
 
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 GatewayAmazon Web Services
 
Webservices Testing PPT.pdf
Webservices Testing PPT.pdfWebservices Testing PPT.pdf
Webservices Testing PPT.pdfAbhishekDhotre4
 
Pragmatic REST APIs
Pragmatic REST APIsPragmatic REST APIs
Pragmatic REST APIsamesar0
 
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 Gatewayaws-marketing-il
 
Design API using RAML - basics
Design API using RAML - basicsDesign API using RAML - basics
Design API using RAML - basicskunal vishe
 

Similar a Postman API Testing Tool Guide for Beginners (20)

(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
 
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
 
Design API using RAML - basics
Design API using RAML - basicsDesign API using RAML - basics
Design API using RAML - basics
 
APITalkMeetupSharable
APITalkMeetupSharableAPITalkMeetupSharable
APITalkMeetupSharable
 

Último

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Último (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Postman API Testing Tool Guide for Beginners

  • 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