The reason for conducting any form of test would be to find out the anomalies that are forcing it to behave from expected behavior. API is something which works closely with the public. So without continuous testing and validating an API is a ticking time bomb. What are types of API that exists now?
• TCP/IP Sockets
• Remote Procedure Call (RPC)
• Common Object Request Broker Architecture (CORBA)
• Java Remote Method Invocation (RMI) and Enterprise Java Beans (EJBs) • Microsoft Distributed Component Object Model (DCOM) – also known as ActiveX
• Web Services (SOAP then REST) What are most important questions that need to addresses while testing an API?
• Who is your user?
• What would be the possible reason people will be using this particular API?
• How critical is the data?
• What can happen if there is a case of anomaly once the API is deployed?
• How fast is the response time of the API? • How to carry out the test?
• How to test the endpoints of API? To get a detailed idea, have a look at the video