Skip to main content

API Testing

API is the communication and data exchange system between the different software. API defines that how one software interact with the another software. A Software have many function and when these functions are called from another software then we call it API. API stand for Application Programming Interface.
Now we come on the topic of what is the API Testing. Before understanding the API Testing you need to to understand the Software Architecture.
There are three layers in any Software Architecture

  • Presentation Layer: This is the User Interface Layer. This layer provide the translation of task and provide in a mode which can be understandable by user.
  • Logic Layer: This layer coordinate the application, process command, make logical decisions and perform calculations. It also move the data between 2 surrounding layers. 
  • Database Layer: Here is information is stored and retrieve from database or file system. This information first passed to the Logic layer then visible to the users in the Presentation Layer.
API Testing in concentrate over the Logic Layer and not over the Presentation layer so API Testing is differ from the GUI Testing. In API Testing you need a software to send call to API so here you need to Testing Tools to drive API or you should write down his/her own code to Test the API. Now you know that API Testing the White Box Testing. 



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.