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 条
[11]   Whitening SOA Testing [J].
Bartolini, Cesare ;
Bertolino, Antonia ;
Elbaum, Sebastian ;
Marchetti, Eda .
7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2009, :161-170
[12]   Bringing white-box testing to Service Oriented Architectures through a Service Oriented Approach [J].
Bartolini, Cesare ;
Bertolino, Antonia ;
Elbaum, Sebastian ;
Marchetti, Eda .
JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) :655-668
[13]  
Bartolini C, 2008, LECT NOTES COMPUT SC, V5364, P524, DOI 10.1007/978-3-540-89652-4_41
[14]  
Bentakouk L, 2009, LECT NOTES COMPUT SC, V5826, P16, DOI 10.1007/978-3-642-05031-2_2
[15]  
Bertolino A, 2008, LECT NOTES COMPUT SC, V5047, P266, DOI 10.1007/978-3-540-68524-1_19
[16]   SOA Test Governance: enabling service integration testing across organization and technology borders [J].
Bertolino, Antonia ;
Polini, Andrea .
ICSTW 2009: IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION WORKSHOPS, 2009, :277-+
[17]   An integrated testing technique for component-based software [J].
Beydeda, S ;
Gruhn, V .
ACS/IEEE INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2001, :328-334
[18]  
Beyer Dirk., 2005, 15 WORLD WIDE WEB C, P148
[19]  
Binder RV., 1999, Testing Object-Oriented Systems: Models, Patterns, and Tools
[20]  
Briand L. C., 2006, 28th International Conference on Software Engineering Proceedings, P92, DOI 10.1145/1134285.1134300