Architecture-based testing of service-oriented applications in distributed systems

被引:6
作者
Keum, Changsup [1 ]
Kang, Sungwon [1 ]
Kim, Myungchul [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Dept Informat & Commun Engn, Taejon 305701, South Korea
基金
新加坡国家研究基金会;
关键词
Service-oriented application testing; Service composition; Test architecture; Architecture-based testing; TEST SUITE DERIVATION; COMMUNICATION PROTOCOLS; WEB SERVICES; ORCHESTRATION;
D O I
10.1016/j.infsof.2013.01.002
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Testing distributed service-oriented applications (SOAs) is more challenging than testing monolithic applications since these applications have complex interactions between participant services. Test engineers can observe test results only through a front service that handles request messages sent by test engineers. Message exchanges between participant services are hidden behind the front service and cannot be easily observed or controlled through the front service. For this reason, testing SOAs suffer from limited observability and controllability problem. Objective: This paper proposes a new test method that is architecture-based and exploits interaction architecture of a SOA. The proposed test method alleviates the limited observability and controllability problem by employing test architecture, thereby facilitating test execution and analysis through monitoring and controlling message exchanges. Method: Our proposed method derives an interaction architecture from the specification of a SOA. Test architectures can be designed from the derived interaction architecture by extending it with additional test elements. At the same time, architecture-neutral test scenarios are automatically generated from the test model that is constructed from the specification. Our method combines test architecture information with the test scenarios to obtain architecture-enabled test scenarios under the selected test architectures. Finally, architecture-enabled test execution and analysis are conducted in the real network environment. Results: The efficacy of the proposed method is demonstrated with an industrial case study, which shows that it is practical and effective for testing SOAs. Even though our method increases an additional test generation effort owing to test architecture, it is counterbalanced by higher fault detection rate and faster fault locating time. Conclusion: The main benefit of our approach is that using test architecture it enhances testability of SOA by increasing observability and controllability through monitoring and controlling message exchanges. Our architecture-based test method enables test engineers to detect faults efficiently and also reduce fault locating time significantly. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:1212 / 1223
页数:12
相关论文
共 21 条
[1]  
Bai XY, 2007, P INT COMP SOFTW APP, P368
[2]  
Bentakouk L, 2009, LECT NOTES COMPUT SC, V5826, P16, DOI 10.1007/978-3-642-05031-2_2
[3]  
Bertolino A, 2006, LECT NOTES COMPUT SC, V3938, P1
[4]  
Cao T., ICST 10 IEEE INT C S, P363
[5]   Web Services Composition Testing: a Strategy Based on Structural Testing of Parallel Programs [J].
Endo, Andre Takeshi ;
Simao, Adenilso da Silva ;
Senger de Souza, Simone do Rocio ;
Lopes de Souza, Paulo Sergio .
TACI PART 2008:TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS, 2008, :3-12
[6]  
ISO/IEC, 1995, 96461 ISOIEC
[7]  
ISO/IEC, 1995, 96462 ISOIEC
[8]   Interoperability test suite derivation for communication protocols [J].
Kang, SW ;
Shin, JW ;
Kim, M .
COMPUTER NETWORKS, 2000, 32 (03) :347-364
[9]  
Keum C, 2006, LECT NOTES COMPUT SC, V3964, P103
[10]   Static and dynamic adaptations for service-based systems [J].
La, Hyun Jung ;
Kim, Soo Dong .
INFORMATION AND SOFTWARE TECHNOLOGY, 2011, 53 (12) :1275-1296