Everything You Need To Know about API testing

Google Trends showing popularity growth of API Testing for the past 5 years

How API Made Our Lives Easier?

Remember the Trivago Guy?? Aggregator websites like Trivago bring you offer prices of various hotels from multiple sources like Expedia, Hotels.com, Goibibo etc, all in a single platform. A user can book a hotel and avail an offer rolled out by Expedia, without even logging into Expedia!!.

API Testing: What Led To The Growth?

Verifying that all the API endpoints act as expected without any breaks in between is the main aim behind API Testing. It is one of the most important aspects of a testing process because of:

1. Agile Practices

Organizations are lovingly embracing agile development therefore calling for the need of dramatically changed ways of automated testing. Continuous builds asks for continuous feedbacks and improvements and GUI tests tend to take longer to run in that case. Since API tests do not lean on UI to be done, hence match the frequency to keep in pace with Agile development.

2. Internet of Things

IoT is no doubt gaining the pace and various sources predicts devices connected to IoT will keep growing and by the end of 2020 it will be 20 billion. Devices connected to cloud are highly backed by APIs. You won’t be launching satellites or developing google again to connect the devices in cloud, all we’ll be using will be API. So, it’s incumbent to make sure that the connected devices stay connected.

Where API Testing Stands in Services Based Architecture?

Types of API Testing

Integration testing, security testing, performance testing, usability testing are some of the terms that you might be aware of as you’re here. Well, API testing provides shade to all the terms under a single umbrella. Let me put it that way, when you perform API testing you make sure that your API passes the following tests.

The Test Pyramid: Giving a Pump up to API Testing

Coupled with some major use cases like authentication, saving from the pain of writing the already written code, there are certain features that adds up to the need of API Testing.

Mike Cohn’s Testing Pyramid

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store