Issue No. 10 - Oct. (2013 vol. 39)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2013.20
Chunyang Ye , Dept. of Electr. & Comput. Eng., Univ. of Toronto, Toronto, ON, Canada
Hans-Arno Jacobsen , Dept. of Electr. & Comput. Eng., Univ. of Toronto, Toronto, ON, Canada
Whitening the testing of service-oriented applications can provide service consumers confidence on how well an application has been tested. However, to protect business interests of service providers and to prevent information leakage, the implementation details of services are usually invisible to service consumers. This makes it challenging to determine the test coverage of a service composition as a whole and design test cases effectively. To address this problem, we propose an approach to whiten the testing of service compositions based on events exposed by services. By deriving event interfaces to explore only necessary test coverage information from service implementations, our approach allows service consumers to determine test coverage based on selected events exposed by services at runtime without releasing the service implementation details. We also develop an approach to design test cases effectively based on event interfaces concerning both effectiveness and information leakage. The experimental results show that our approach outperforms existing testing approaches for service compositions with up to 49 percent more test coverage and an up to 24 percent higher fault-detection rate. Moreover, our solution can trade off effectiveness, efficiency, and information leakage for test case generation.
Testing, Service-oriented architecture, Books, Runtime, Catalogs, Jacobian matrices
Chunyang Ye and H. Jacobsen, "Whitening SOA Testing via Event Exposure," in IEEE Transactions on Software Engineering, vol. 39, no. 10, pp. 1444-1465, 2013.