Automated Testing and Response Analysis ofWeb Services
Authors:
- 1 July 2007
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 647-654
Abstract
Web services are a popular way of implementing a Service-Oriented Architecture (SOA), which has gained rapid adoption and support from leading companies in industry. Testing can be used to help assure both the corectness and robustness of a web service. Because manual testing is tedious, tools are needed to automate test generation and execution for web services. This paper presents a framework and its supporting tool for automaically generating and executing web-service requests and analyzing the subsequent request-response pairs. Given a service provider's Web Service Description Language (WSDL) specification, we first automatically generate neessary Java code to implement a client (service requestor). We then leverage automated unit test generation tools for Java to generate unit tests (including extreme, special, and random input values), and execute the generated unit tests, which in turn invoke the service under test. Finally we an alyze the large number of request-response pairs from the web service invocation and identify robustness problems. We have applied our framework to freely available web services and our experiences show that we can quickly gen erate and execute web-service requests that may reveal robustness problems with no knowledge of the underlying web service implementation.Keywords
This publication has 15 references indexed in Scilit:
- Tool-assisted unit-test generation and selection based on operational abstractionsAutomated Software Engineering, 2006
- Automated Model Checking and Testing for Composite Web Services2005
- Symstra: A Framework for Generating Object-Oriented Unit Tests Using Symbolic Execution2005
- Testing of java web services for robustness2004
- JCrasher: an automatic robustness tester for JavaSoftware: Practice and Experience, 2004
- Model-based verification of Web service compositions2004
- Extending WSDL to facilitate Web services testing2003
- Generalized Symbolic Execution for Model Checking and Testing2003
- Dynamically discovering likely program invariants to support program evolutionIEEE Transactions on Software Engineering, 2001
- Model checking programs2000