Combining usage-based and model-based testing for service-oriented architectures in the industrial practice

Steffen Herbold, Patrick Harms, Jens Grabowski

Abstract

Usage-based testing focuses quality assurance on highly used parts of the software. The basis for this are usage profiles based on which test cases are generated. There are two fundamental approaches in usage-based testing for deriving usage profiles: either the system under test (SUT) is observed during its operation and from the obtained usage data a usage profile is automatically inferred, or a usage pro-file is modeled by hand within a model-based testing (MBT)approach. In this article, we propose a third and combined approach, where we automatically infer a usage profile and create a test data repository from usage data. Then, we create representations of the generated tests and test data in the test model from an MBT approach. The test model enables us to generate executable Testing and Test Control Notation version 3 (TTCN-3) and thereby allows us to automate the test execution. Together with industrial partners, we adopted this approach in two pilot studies. Our findings show that usage-based testing can be applied in practice and greatly helps with the automation of tests. Moreover, we found that even if usage-based testing is not of interest, the incorporation of usage data can ease the application of MBT.
Keywords: 
Usage-based testing, Model-based testing, Usage monitoring, Web service testing, TTCN-3
Document Type: 
Journal Articles
Publisher: 
Springer
Journal: 
International Journal on Software Tools for Technology Transfer
Volume: 
19
Number: 
3
Pages: 
309-324
Month: 
9
Year: 
2016
Note: 
http://rdcu.be/v5cZ
DOI: 
10.1007/s10009-016-0437-y
2024 © Software Engineering For Distributed Systems Group

Main menu 2