I'm new to API testing, where to start my learning about API? what all are good to know features in API testing? Any documents link or advise on API testing.

closed as too broad by IAmMilinPatel, dzieciou, Bharat Mane, FDM, NarendraC Jul 11 '17 at 9:09

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    This Question seems to be a little bit broad. What kind of API do you have to test? A library API, a remote API, is it public or private, what kind of data should be delivered? I could recommend some Frameworks but without knowing what exactly you need to test it's hard to find an ideal match. – Daniel Jul 11 '17 at 8:39
  • I'm switching to API testing from functional UI testing. So need advise on where to start learning on API testing in general. – Mydhili Jul 12 '17 at 7:28
  • You can start by reading the API testing introduction and grab a tool to play with. - API Testing introduction - Tools for API Testing – Joey Rock Jun 19 '18 at 7:30

API TESTING is a type of software testing that involves testing application programming interfaces (APIs) directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security. Since APIs lack a GUI, API testing is performed at the message layer.API is an acronym for Application Programming Interface.

It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions/sub-routines which can be executed by another software system. API testing is entirely different from GUI testing and mainly concentrates on the business logic layer of the software architecture. This testing won't concentrate on the look and feel of an application.

Instead of using standard user inputs(keyboard) and outputs, in API Testing, you use software to send calls to the API, get output, and note down the system's response.

API Testing requires an application to interact with API. In order to test an API, you will need to

Use Testing Tool to drive the API
Write your own code to test the API 

Set-up of API Test environment

API testing is different than other testing types as GUI is not available, and yet you are required to setup initial environment that invokes API with required set of parameters and then finally examines the test result.
Hence, Setting up a testing environment for API testing seems a little complex.
Database and server should be configured as per the application requirements.
Once the installation is done, API Function should be called to check whether that API is working. 

API testing is in many respects like testing software at the user-interface level, only instead of testing by means of standard user inputs and outputs, you use software to send calls to the API, get output, and log the system’s response. Depending on the testing environment, you may use a suite of prepared test applications, but very often, you will wind up writing code specifically to test the API. Regardless of the actual testing conditions, it is important to know what API test code should do.

  • 1
    This is just a summary of what an API is taken from guru99 and wikipedia. You should write your own answer, linking to further information if relevant. – Edward_Haigh Jul 11 '17 at 9:46

To get started with API testing, I suggest the Postman app & its (good) documentation:


Not the answer you're looking for? Browse other questions tagged or ask your own question.