Welcome to Thought Process

Please share your thoughts. Knowledge is worth sharing and keeps growing as you share.

Thursday, 14 April 2011

Web Services Automation Framework

In the present day the web services are extensively used but due to lack of well equipped tools the present day demand is not met. The web services are handled manually and the number of web users is increasing at a rapid rate. The present day developments and the solutions to the web service testing are not effective and require a breakthrough improvement to meet the demands. The present tools which are available in market only execute the request level and the response of SOAP service is manually performed which is error prone and requires a lot of time and human resource. The verification and validation of multiple responses are manual and thus to validate the multiple response it is very difficult leading to long delays. It is very difficult to manually handle large complex servers and the multiple servers which send and receive the requests and queries.
Performing the exact functional part verification is not easy and requires highly skilled and experienced human resource to handle it and even after meeting all the requirements the accuracy levels are low. Performance test include load test which is the number of requests a server can handle at a time and the behavior of the server when number of requests are higher then the threshold. The load test is important because the server may crash if the number of requests are more than the number of request that the server can handle. Hence finding the load and testing it for the worst is important. But with the present approach load test on multiple web service is not possible. The execution of integration test is not possible with multiple web service servers connected at a time. Clear cut projection of report is not possible for functional, performance and integration testing. Since there is great requirement of a robust effective testing framework, this area of work was chosen.

The Framework is based on SOAPUI which is a very important tool for Webservices testing. This tool is being widely used by users for testing the web services. SoapUI is the world's leading Functional Testing tool for SOA and Web Service testing.  SoapUI is a free and open source cross-platform Functional Testing solution. With the graphical interface, and enterprise-class features, SoapUI allows users to create and execute automated functional, regression, compliance, and load tests. In a single test environment, SoapUI provides complete test coverage - from SOAP and REST-based Web services, to JMS enterprise messaging layers, databases, Rich Internet Applications, and much more. Though SoapUI has a lot of functionalities and is user friendly an initial knowledge of SoapUI is required for working on SoapUI. This for many simple testing is not required for testers and the output is handled manually.

The SoapUI is based completely on xml parsing and thus the output is also shown in xml which is not a desired format of output for a large set of users. The Framework refers to the Soap classes and connects it to the server as in Soap.


1 comment:

  1. Are you generating requests dynamically? If yes, can you tell me the strategy that you are using to generate the requests?

    ReplyDelete