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

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.

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

Why testing is necessary?

Before start learning of Testing i would like to ask one thing - why testing is necessary? In each and every field 'Testing' is the important phase of product development cycle. Without testing no one ensure the quality of the product. The product can be anything it may be a Car, a Machine, a Medicine , a Software etc, it need to fully tested. Only after testing you can say the product that you build have good quality. Only after testing you can release your product in market. if you release your product in market without testing then it may be possible that your product have serious issue that cause the negative effect on your business. So Testing on important. Now we talk about the Testing importance in Software Development. Testing is necessary because everyone makes mistakes and sometimes these errors are expensive or dangerous. Testing is required to test every part because things can always go wrong. Today is the market of Internet and if you leave any mist...