Issue No.10 - Oct. (2013 vol.39)
Chunyang Ye , University of Toronto, Toronto
Hans-Arno Jacobsen , University of Toronto, Toronto
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2013.20
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.
events, Web service composition, white-box testing, event interface,
Chunyang Ye, Hans-Arno Jacobsen, "Whitening SOA Testing via Event Exposure", IEEE Transactions on Software Engineering, vol.39, no. 10, pp. 1444-1465, Oct. 2013, doi:10.1109/TSE.2013.20