Basics of webservice testing

With rise in agile methodologies the webservice testing is becoming more and more popular.
Before we understand what is webservice testing, it is good if we understand what is webservice and its related terminologies.

Webservice: In simple terms webservice is any service provided by any application available on some device through which the other device can communicate with it.In simpler words webservice is something which enables some application to communicate with the outside world.
We will discuss further how this is made possible and its underlying technologies.

Along with webservice there are other related technologies which are used so commonly; these are API and microservices.

API: API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.
Both API and webservices are used to communicate with another application, however there are differences between them.

Differences between API and webservice:
An API exactly defines the methods for one software program to interact with the other. When this action involves sending data over a network, Web services come into the picture. An API generally involves calling functions from within a software program.
All webservices are API but not all APIs are webservice. In fact a Web service is merely an API wrapped in HTTP. An API doesn’t always need to be web based. An API consists of a complete set of rules and specifications for a software program to follow in order to facilitate interaction. A Web service might not contain a complete set of specifications and sometimes might not be able to perform all the tasks that may be possible from a complete API.

Microservices: Microservices are small modules that are developed in order to achive a specific task.
They are very small and light. Traditional APIs tend to be very large and can perform a lot of disparate functions. An example would be the powerful salesforce.com APIs. A microservices API typically has one job or a small set of closely related jobs is autonomous and works in a quick, easy, and discrete manner—like an individual building block.

Comments