Title :
Efficient Testing of Service-Oriented Applications Using Semantic Service Stubs
Author :
Mani, Senthil ; Sinha, Vibha Singhal ; Sinha, Saurabh ; Dhoolia, Pankaj ; Mukherjee, Debdoot ; Chakraborty, Soham
Author_Institution :
Res. Lab., IBM India, India
Abstract :
Service-oriented applications can be expensive to test because services are hosted remotely, are potentially shared among many users, and may have costs associated with their invocation. In this paper, we present an approach for reducing the costs of testing such applications. The key observation underlying our approach is that certain aspects of an application can be tested using locally deployed semantic service stubs, instead of actual remote services.A semantic service stub incorporates some of the service functionality, such as verifying preconditions and generating output messages based on post conditions. We illustrate how semantic stubs can enable the client test suite to be partitioned into subsets, some of which need not be executed using remote services. We also present a case study that demonstrates the feasibility of the approach, and potential cost savings for testing. The main benefits of our approach are that it can (1) reduce the number of test cases that need to be run to invoke remote services, (2) ensure that certain aspects of application functionality are well-tested before service integration occurs.
Keywords :
Web services; program testing; semantic service stub; service-oriented application; test-data generation; Computer industry; Computer science; Encapsulation; Lead; Scalability; Service oriented architecture; Simple object access protocol; Testing; Web and internet services; Web services; Annotations; SOA; Semantics; Testing;
Conference_Titel :
Web Services, 2009. ICWS 2009. IEEE International Conference on
Conference_Location :
Los Angeles, CA
Print_ISBN :
978-0-7695-3709-2
DOI :
10.1109/ICWS.2009.40