Title :
Coverage-Based Testing for Service Level Agreements
Author :
Palacios, Marcos ; Garcia-Fanjul, Jose ; Tuya, Javier ; Spanoudakis, George
Author_Institution :
Dept. of Comput. Sci., Univ. of Oviedo, Gijon, Spain
Abstract :
Service level agreements (SLAs) are typically used to specify rules regarding the consumption of services that are agreed between the providers of the service-based applications (SBAs) and their consumers. An SLA includes a list of terms that contain the guarantees that must be fulfilled during the provisioning and consumption of the services. Since the violation of such guarantees may lead to the application of potential penalties, it is important to assure that the SBA behaves as expected. In this paper, we propose a proactive approach to test SLA-aware SBAs by means of identifying test requirements, which represent situations that are relevant to be tested. To address this issue, we define a four-valued logic that allows evaluating both the individual guarantee terms and their logical relationships. Grounded in this logic, we devise a test criterion based on the modified condition decision coverage (MCDC) in order to obtain a cost-effective set of test requirements from the structure of the SLA. Furthermore by analyzing the syntax and semantics of the agreement, we define specific rules to avoid non-feasible test requirements. The whole approach has been automated and applied over an eHealth case study.
Keywords :
Web services; contracts; health care; medical computing; program testing; MCDC; SLA-aware SBA; coverage-based testing; e-health case study; four-valued logic; modified condition decision coverage; semantics; service level agreements; service-based applications; syntax; test requirements; Context; Monitoring; Runtime; Semantics; Standards; Syntactics; Testing; MCDC; Software testing; coverage criterion; service based applications; service level agreements;
Journal_Title :
Services Computing, IEEE Transactions on
DOI :
10.1109/TSC.2014.2300486