Top 20 Questions On API Testing
Top 20 Questions On API Testing
com/
1/6
http://career.guru99.com/
SOAP-stands for Simple Object Access Control, and it is an XML based protocol for exchanging
information between computers.
UNIT testing
code
included in a build
2/6
http://career.guru99.com/
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
?
The key area to be considered when writing API documents are
Source of the content
Document plan or sketch
Delivery layout
Information required for each function in the document
Automatic document creation programs
10) In API document explain how to document each function ?What are the tools used for
documentation?
Description: Small description about what a function does
Syntax: Syntax about the parameter of the code, the sequence in which they occur,
required and optional elements etc.
Parameters: Functions parameters
Error Messages: Syntax of error messages
Example Code: Small snippet of code
Related Links: Related functions
Popular tools used for API documentations are JavaDoc (for Java code ) Doxygen (for .Net
code)
11) Explain API framework?
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
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.
12) How does the API Builder work?
API Builder is a PLSQL program consists of four SQL files
3/6
http://career.guru99.com/
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
13) Explain what is TestApi ?
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.
Direct Method Invocation
Invocation using an accessibility interface
Simulation using low-level input
Simulation using a device driver
Simulation using a robot
15) What are the main challenges of API testing?
The main challenges in API testing is
Parameter Selection
Parameter Combination
Call sequencing
16) What is API testing with runscope ?
Runscope is a web application that provides backend services and easy to use interface for
testing APIs.
17) Explain what are the principles of API test design?
The principle for API test design are
Setup : Create objects, start services, initialize data etc
Execution: Steps to exercise API or scenario, also logging
Verification: Oracles to evaluate execution outcome
Reporting: Pass, failed or blocked
Clean up: Pre-test state
18) What are the types of Bugs will API testing finds?
4/6
http://career.guru99.com/
5/6
http://career.guru99.com/
PHP
Java
Linux
Apache
Perl
SQL
VB Script
JavaScript
Accounting
Ethical Hacking
Cloud Computing
Jmeter
Manual Testing
QTP
Selenium
Load Runner
Quality Center
Mobile Testing
Enterprise Testing
Test Management
Live Selenium
Project
------------------------------------------------------------------------------------------------------------------------------Copyrighted Material
6/6
Powered by TCPDF (www.tcpdf.org)