Easily validate your REST APIs by using the swagger definitions

Swagger (now known as OpenAPI) is a well-known framework for describing the API specifications. Swagger removes ambiguity among multiple teams (e.g. frontend team, backend team, testing team) by having the proper API specification. And development and testing teams can work in parallel by referring the same spec.

Today in this post, we will look at how the swagger spec also helps us in making the automated API validation process easier. We have developed a tool named as vREST NG for validating the REST APIs and it also imports the swagger specification and makes the validation process against the imported schema much easier. Continue reading Easily validate your REST APIs by using the swagger definitions

Challenges behind automation of REST API Testing

Adoption of REST APIs has increased manifold in recent days and REST has become a leading standard for building web APIs. The era of pure desktop-based applications is continuously going down. People are shifting from NG to web and further mobile-based applications.

Most of the web-based applications or mobile applications are backed by REST APIs. Testing this type of applications has become a major challenge. Various tools/frameworks/libraries (utilities) are there to automate the testing activity. People choose these utilities depending upon their context, environment, budget and skill level, etc.

In this post, we will discuss the need for automation followed by various challenges behind REST API Automation Testing. I will appreciate questions/feedback if you have any ☺

Continue reading Challenges behind automation of REST API Testing

Reusable Automation Test Scripts for API testing

In the API Testing world, if an automated testing tool doesn’t provide reusability then you will pay a great cost while maintaining the test suites over a period of time. Reusability and maintainability are two sides of the same coin. If reusability decreases then maintainability also decreases and vice versa. If you are having a small number of APIs/test cases then reusability might not be a concern for you, but if your whole architecture is based around APIs then reusability plays a great role while creating the automated test suites for those APIs. And it is very important to think about this dimension while choosing the API automation framework/tool. We should follow the DRY (Do not repeat yourself) principle.

Continue reading Reusable Automation Test Scripts for API testing