Skip to main content

What is API Testing?

For API Testing, First you need to understand What is APIs. Go through the link to get the complete detail regarding the APIs. API Testing is completely different from the GUI Testing. In API Testing we do not consider the presentation of the Web Page, We only consider the Business logic on the Software Architecture for API Testing.

API Testing, API, Business Logic, GUI
Image Source Google

API Testing is the type of software testing to test the API(Application Programming Interface) directly and test the the application to meet the expectations for functionality, Reliability, Performance and Security. API Testing is very important these days for Automation Testing because in API testing we do not need the GUI so for short release and frequent changes, we just need to check the APIs which is commonly used in Agile Methodology.

In API Testing, User send the request to the server using some software, Server provide the response, Note down the response from the server.

If user want to Test any API then user need some tool by which user can send the request to the API or user can write own code to interest with API. Once user send request to the API then user can receive the response from API in following way A Pass or Fail Status, Some Data from API or A further call to another API. Sometimes it also happen that no output at all, In that case QA's role is crucial in SDLC.

API Testing is very important because if API does not work effectively and efficiently, it will never be used by any other even it's free. If API break at any case or error then it breaks not only that single application while it breaks entire chain of Business process.

Following are the Testing method that needed to include in API Testing

  • Functionality Testing: API should work as it is exactly what is is supposed to do.
  • Reliability Testing:API should be reliable and consistently connect.
  • Load Testing: An API should be able to handle a large set of request at same time.
  • Creativity Testing: An API should be handle in different way.
  • Discovery/Documentation  Testing: Manually execute the set of calls listed in the Documentation of API. Like any resource exposed by API should be listed, created and deleted as needed.
  • Security Testing: API should have requirement to provide security like Authentication, Permission and access control.
  • Proficiency Testing: The API increase what developers are able to do.
  • Automation Testing: API testing can be performed with some tools to execute the API on regular basis.

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

Smoke Testing

In Smoke Testing, Testing team check the key feature or key bugs of the software. Smoke testing ensure that critical functionality of the software is working fine.If key features are not working then it is no needed to test the overall functionality because it is just waste of time. In Smoke Testing, test team check the basic feature of the software and if basic feature is not working it means software is broken very badly and further testing is unnecessary. If Smoke Testing failed then it is declared that build is unstable and revert back to developer team until smoke test is pass.

Structural Testing

Structural Testing is the type of testing in which user should have the knowledge of the code because in this testing user need to check the structure of the system. Structural Testing is White Box Testing.