Whitening SOA Testing via Event Exposure

被引:24
作者
Ye, Chunyang [1 ]
Jacobsen, Hans-Arno [1 ]
机构
[1] Univ Toronto, Dept Elect & Comp Engn, Toronto, ON M5S 1A1, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Web service composition; white-box testing; event interface; events; SERVICE; GENERATION; ORCHESTRATION; VERIFICATION; ARCHITECTURE; ATOMICITY;
D O I
10.1109/TSE.2013.20
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:1444 / 1465
页数:22
相关论文
共 85 条
[31]  
Corbett J. C., 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium, P439, DOI 10.1109/ICSE.2000.870434
[32]  
Dai GL, 2007, P INT COMP SOFTW APP, P517
[33]  
DEALFARO L, 2001, P 9 ANN S FDN SOFTW, P109
[34]   HINTS ON TEST DATA SELECTION - HELP FOR PRACTICING PROGRAMMER [J].
DEMILLO, RA ;
LIPTON, RJ .
COMPUTER, 1978, 11 (04) :34-41
[35]  
DENICOLA R, 1983, LECT NOTES COMPUT SC, V154, P548
[36]   Run-time Verification of Behavioural Conformance for Conversational Web Services [J].
Dranidis, Dimitris ;
Ramollari, Ervin ;
Kourtesis, Dimitrios .
ECOWS'09: PROCEEDINGS OF THE 7TH IEEE EUROPEAN CONFERENCE ON WEB SERVICES, 2009, :139-+
[37]  
Emmi M, 2008, LECT NOTES COMPUT SC, V5014, P116
[38]  
Epifani I., 2010, P 18 ACM SIGSOFT INT, P227
[39]   Model-based verification of web service compositions [J].
Foster, H ;
Uchitel, S ;
Magee, J ;
Kramer, J .
18TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2003, :152-161
[40]  
Fu X., 2004, P 13 INT C WORLD WID, P621