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

Why Jmeter is best option for Performance Testing?

There are multiple tools in market for performance testing of any software but Jmeter is the best solution among all of them due to some reason listed below 1) Jmeter is the open source application so users who use this application will not to pay anything. 2) You can use Jmeter for performance of any web application,  Databases and Web Services (REST and SOAP APIs). 3) Jmeter have the user friendly UI component so it is very easy to use. 4) Jmeter can be used to simulate to put maximum number of concurrent users on a server, network or object to test its strength or to analyze overall performance under different load types. 5) Jmeter also use for functional testing for static( JavaScript and HTML) and dynamic( JSP, Servlets and AJAX) resources. 6) Jmeter provides Verity of graphical representations for performance report so it is easy to understand.

How You Can Test Database?

Now we know the Database Testing which you can learn in my last article. In this article we will discuss about the steps that need to following to test any Database. Database Tester should have some basic knowledge regarding SQL Command like DDL (create/drop),  DML (Insert/Delete/Update) and DCL (Grant/Revoke).

Causes of Software Defects

It is practically impossible that developer develop a bug free software and that software we can deliver without Testing. If the complexity of the software increased then there must be bugs that can harm the users who will use that software.