Top 20 Questions On Api Testing
Top 20 Questions On Api Testing
com/
SoapUI Pro
PostMan
Alertsite API monitoring
API (Application Programming Interface) specifies how some software components should
interact with other, in other words it’s a set of functions and procedures that allows the creation
of applications which access the features or data of an application or operating system.
Testing of these functions is known as API testing.
4) Mention the key difference between UI level testing and API testing?
UI ( User Interface) refers to testing graphical interface such as how user interacts with the
applications, testing application elements like fonts, images, layouts etc. UI testing basically
focuses on look and feel of an application.
1/6
https://career.guru99.com/
While, API enables communication between two separate software systems. A software system
implementing an API contains functions or sub-routines that can be executed by another
software system
SOAP-stands for Simple Object Access Control, and it is an XML based protocol for exchanging
information between computers.
It is a set of functions to which the developers performs requests and receive responses. In
REST API interaction is made via HTTP protocol
REST – stands for Representational State Transfer, it is quickly becoming defacto standard for
API creation.
2/6
https://career.guru99.com/
included in a build
Select the suite in which you want to add the API test case
Choose test development mode
Develop test cases for the desired API methods
Configure application control parameters
Configure test conditions
Configure method validation
Execute API test
View test reports
Filter API test cases
Sequence API test cases
9) Mention what the main areas to be taken in consideration while writing API document
?
10) In API document explain how to document each function ?What are the tools used for
documentation?
Popular tools used for API documentations are JavaDoc (for Java code ) Doxygen (for .Net
code)
API framework is self-explanatory. Values for test run and for holding the configurable parts,
config file is used. Automated test cases must represent in “ parse-table” format within config
3/6
https://career.guru99.com/
file. When testing API, it is not necessary to test each API so the config file have some section
whose all API are activated for that specific run.
For setting API parameters and starting the process one file is responsible
Two files are created for temporary tables and Master package to create the outputted
code
Fourth file creates “spooled” output of the code into a file called “output_script_.sql”
TestApi is a library of utility and test APIs that enables testers and developers to create testing
tools and automated tests for .NET and Win32 application. It provides a set of common test
building blocks, types, data-structure and algorithms.
14) What is Input injection and what are different ways of doing it ?
Input Injection: It is the act of simulating user input, in several ways you can simulate user
input.
Parameter Selection
Parameter Combination
Call sequencing
Runscope is a web application that provides backend services and easy to use interface for
testing APIs.
4/6
https://career.guru99.com/
18) What are the types of Bugs will API testing finds?
19) What are the tools used for API test automation?
While testing Unit and API testing, both target source code, if an API method is using code
based on .NET then the tool which is supporting should have .NET
21) What are the common protocols that are testing in API tesing ?
5/6
https://career.guru99.com/
HTTP
JMS
REST
SOAP
UDDI
6/6
Powered by TCPDF (www.tcpdf.org)