SlideShare a Scribd company logo
5
Most read
7
Most read
9
Most read
API Testing
What is API testing?
2
API testing…
Test Cases for API Testing:
● Return value based on input condition
● Does not return anything
● Trigger some other API/event/interrupt
● Update data structure
● Modify certain resources
3
What to test for in API testing
● Discovery testing: The test group should manually execute the set of calls documented in the API
like verifying that a specific resource exposed by the API can be listed, created and deleted as
appropriate
● Usability testing: This testing verifies whether the API is functional and user-friendly. And does API
integrates well with another platform as well
● Security testing: This testing includes what type of authentication is required and whether sensitive
data is encrypted over HTTP or both
● Automated testing: API testing should culminate in the creation of a set of scripts or a tool that can
be used to execute the API regularly
● Documentation: The test team has to make sure that the documentation is adequate and provides
enough information to interact with the API. Documentation should be a part of the final deliverable
4
Types of Bugs that API testing detects
● Fails to handle error conditions gracefully
● Unused flags
● Missing or duplicate functionality
● Reliability Issues. Difficulty in connecting and getting response from API.
● Security Issues
● Performance Issues. API response time is very high.
● Improper errors/warning to caller
● Incorrect handling of valid argument values
● Response Data is not structured correctly (JSON)
5
Tools for API testing
● SOAPUI
● Runscope
● Postman with jetpacks
● Postman with newman
● Curl
● Cfix
● Check
● CTESK
● dotTEST
● Eclipse SDK tool- Automated API testing
6
Challenges of API Testing
Challenges of API testing includes:
● Main challenges in API testing is Parameter Combination, Parameter Selection, and Call
Sequencing
● There is no GUI available to test the application which makes difficult to give input values
● Validating and Verifying the output in different system is little difficult for testers
● Parameters selection and categorization required to be known to the testers
● Exception handling function needs to be tested
● Coding knowledge is necessary for testers
7
Conclusion
API consists of set of classes / functions / procedures which represent the business logic layer. If API is not
tested properly, it may cause problems not only the API application but also in the calling application.
8
Thank You
Bikash Kumar Sharma
SoftwareArchitect
bikashsharma.bks@gmail.com
@bikashsharmabks
bikashkumarsharma
9

More Related Content

PPTX
Api testing
PPTX
Api Testing
PPTX
Api testing
PPTX
POSTMAN.pptx
PPTX
Api Testing
PPTX
API Testing Using REST Assured with TestNG
PDF
PDF
Postman Webinar: “Continuous Testing with Postman”
Api testing
Api Testing
Api testing
POSTMAN.pptx
Api Testing
API Testing Using REST Assured with TestNG
Postman Webinar: “Continuous Testing with Postman”

What's hot (20)

PDF
API Testing: The heart of functional testing" with Bj Rollison
PDF
An Introduction To Automated API Testing
PDF
How to Automate API Testing
PPTX
API Testing for everyone.pptx
PDF
API Testing. Streamline your testing process.
PPTX
B4USolution_API-Testing
PPSX
API Test Automation
PPTX
Rest assured
PPTX
Postman. From simple API test to end to end scenario
PPTX
RESTful API Testing using Postman, Newman, and Jenkins
PPT
Postman.ppt
PDF
API_Testing_with_Postman
PDF
Postman: An Introduction for Testers
PDF
4 Major Advantages of API Testing
PPTX
Belajar Postman test runner
PPTX
Test your microservices with REST-Assured
PPTX
Postman Introduction
PPTX
Test in Rest. API testing with the help of Rest Assured.
PPTX
Test Design and Automation for REST API
PPTX
Testing RESTful web services with REST Assured
API Testing: The heart of functional testing" with Bj Rollison
An Introduction To Automated API Testing
How to Automate API Testing
API Testing for everyone.pptx
API Testing. Streamline your testing process.
B4USolution_API-Testing
API Test Automation
Rest assured
Postman. From simple API test to end to end scenario
RESTful API Testing using Postman, Newman, and Jenkins
Postman.ppt
API_Testing_with_Postman
Postman: An Introduction for Testers
4 Major Advantages of API Testing
Belajar Postman test runner
Test your microservices with REST-Assured
Postman Introduction
Test in Rest. API testing with the help of Rest Assured.
Test Design and Automation for REST API
Testing RESTful web services with REST Assured
Ad

Viewers also liked (14)

PDF
Automate REST API Testing
PPTX
REST API testing with SpecFlow
PPT
Presentation for soap ui
PPTX
Getting Started with API Security Testing
PPTX
Testing soapui
PPTX
Testing Agile Web Services from soapUI
PPT
Soa testing soap ui (2)
PPTX
An introduction to api testing | David Tzemach
PPT
SOAP-UI The Web service Testing
PPT
Ppt of soap ui
PPTX
Testing web services
PPTX
Learn SoapUI
PDF
Web Services Automated Testing via SoapUI Tool
Automate REST API Testing
REST API testing with SpecFlow
Presentation for soap ui
Getting Started with API Security Testing
Testing soapui
Testing Agile Web Services from soapUI
Soa testing soap ui (2)
An introduction to api testing | David Tzemach
SOAP-UI The Web service Testing
Ppt of soap ui
Testing web services
Learn SoapUI
Web Services Automated Testing via SoapUI Tool
Ad

Similar to API Testing (20)

PDF
What is API test automation
PDF
What is API Testing_ .pdf
PDF
Webservicex.pdf
PPTX
A basic introduction to API Testing & its importance.
PDF
Do you know How to Effectively Test APIs.pdf
PPTX
API testing training in hyderabad
PPTX
API testing training in hyderabad telangana
PPTX
API testing training in Hyderabad location
PDF
Top 20 Automated API testing Tools for Effective Software Testing.pdf
PPTX
API testing training in hyderabad location
PDF
Top 20 Automated API testing Tools for Effective Software Testing.pdf
PPTX
API-Testing-Interview-Questions-and-Answers(Edited).pptx
PDF
Accelerating Software Product Development with API Testing
PDF
Top 20 API Testing Interview Questions.pdf
PPTX
API TESTING USING PYTEST IN PYCHARMPRESENTENTION.pptx
PDF
What is API Testing? A Comprehensive Guide
PDF
What is API Testing and What Career Opportunities.pdf
PDF
Do’s and don’ts of api testing
PPTX
Diving into the World of Test Automation The Approach and the Technologies
PDF
5 challenges of api testing and how to overcome
What is API test automation
What is API Testing_ .pdf
Webservicex.pdf
A basic introduction to API Testing & its importance.
Do you know How to Effectively Test APIs.pdf
API testing training in hyderabad
API testing training in hyderabad telangana
API testing training in Hyderabad location
Top 20 Automated API testing Tools for Effective Software Testing.pdf
API testing training in hyderabad location
Top 20 Automated API testing Tools for Effective Software Testing.pdf
API-Testing-Interview-Questions-and-Answers(Edited).pptx
Accelerating Software Product Development with API Testing
Top 20 API Testing Interview Questions.pdf
API TESTING USING PYTEST IN PYCHARMPRESENTENTION.pptx
What is API Testing? A Comprehensive Guide
What is API Testing and What Career Opportunities.pdf
Do’s and don’ts of api testing
Diving into the World of Test Automation The Approach and the Technologies
5 challenges of api testing and how to overcome

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Empathic Computing: Creating Shared Understanding
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Electronic commerce courselecture one. Pdf
PDF
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Empathic Computing: Creating Shared Understanding
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
CIFDAQ's Market Insight: SEC Turns Pro Crypto
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
The AUB Centre for AI in Media Proposal.docx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Review of recent advances in non-invasive hemoglobin estimation
Electronic commerce courselecture one. Pdf
Approach and Philosophy of On baking technology

API Testing

  • 2. What is API testing? 2
  • 3. API testing… Test Cases for API Testing: ● Return value based on input condition ● Does not return anything ● Trigger some other API/event/interrupt ● Update data structure ● Modify certain resources 3
  • 4. What to test for in API testing ● Discovery testing: The test group should manually execute the set of calls documented in the API like verifying that a specific resource exposed by the API can be listed, created and deleted as appropriate ● Usability testing: This testing verifies whether the API is functional and user-friendly. And does API integrates well with another platform as well ● Security testing: This testing includes what type of authentication is required and whether sensitive data is encrypted over HTTP or both ● Automated testing: API testing should culminate in the creation of a set of scripts or a tool that can be used to execute the API regularly ● Documentation: The test team has to make sure that the documentation is adequate and provides enough information to interact with the API. Documentation should be a part of the final deliverable 4
  • 5. Types of Bugs that API testing detects ● Fails to handle error conditions gracefully ● Unused flags ● Missing or duplicate functionality ● Reliability Issues. Difficulty in connecting and getting response from API. ● Security Issues ● Performance Issues. API response time is very high. ● Improper errors/warning to caller ● Incorrect handling of valid argument values ● Response Data is not structured correctly (JSON) 5
  • 6. Tools for API testing ● SOAPUI ● Runscope ● Postman with jetpacks ● Postman with newman ● Curl ● Cfix ● Check ● CTESK ● dotTEST ● Eclipse SDK tool- Automated API testing 6
  • 7. Challenges of API Testing Challenges of API testing includes: ● Main challenges in API testing is Parameter Combination, Parameter Selection, and Call Sequencing ● There is no GUI available to test the application which makes difficult to give input values ● Validating and Verifying the output in different system is little difficult for testers ● Parameters selection and categorization required to be known to the testers ● Exception handling function needs to be tested ● Coding knowledge is necessary for testers 7
  • 8. Conclusion API consists of set of classes / functions / procedures which represent the business logic layer. If API is not tested properly, it may cause problems not only the API application but also in the calling application. 8
  • 9. Thank You Bikash Kumar Sharma SoftwareArchitect bikashsharma.bks@gmail.com @bikashsharmabks bikashkumarsharma 9