The testing of web applications that interact with a web service can be broken down into two parts:
– Testing of the Web Service in a separate part: Each web service has one or more functions which can be examined by sending relevant requests and analyzing the response and verifying correct data is returned in the response. We can use tools such as SoapUI to test a Soap Service or Rest Client to test a RESTful web service.
– Integration Testing of Web Service with the Front End: The integration testing is also essential as it can highlight issues with data in the request and display of the response.
The reason for this division is to be able to recognize issues in the web service much faster and easier to debug.