Hi recently in an interview I was asked to write API test
cases. Since I am not familiar with it can someone put more
light towards API testing and give some example test cases
for the same.
Thanks!

Answer Posted / aparna

Application programming interface may be a function or
procedure which is called by the source by passing values
to the same.

Let us take CRM, TIBCO and ADC(Billing system)systems
When CRM sends the request to TIBCO, it will filer ADC
parameters from that and it will call ADC API by passing
CRM values into.

TC1: Check whether CRM is sending req to TIBCO or not
TC2: Check whether TIBCO is received or not
TC3: Check whether TIBCO sends request by calling so and so
API of ADC or not.
TC4: Check whether request is updated in ADC or not.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write test cases for lift?

923


Write test cases to test a browser app

1375


If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date

2174


If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules

1183


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List { } public RoadNetwork : List { } public RoadNetwork Concatenate(RoadNetwork roads);

2046






please give me different test scenario for uploading whatsapp status from gallery and camera

5609


write the test cases for facility module

1307


how to write test cases for the example state name starts with A B C D E F G H I J K L Z

2182


write test cases for hospitality management system

2133


What is the syntax testing?

793


Explain how to develop a test plan and a test case.

777


What is transaction testing?

825


how to write test case for GUI testing and tell me in brief about GUI and all related WEB based testing..if possible then pls give example of its test case...m new in testing........thannx for help in advance

3455


Test a function that reads a file into memory, say ReadFileToMemory( FILE * pFile, BYTE * pMem, DWORD numBytes)

2827


Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com

3446