Title :
Ontology-Based Test Case Generation for Testing Web Services
Author :
Wang, Yongbo ; Bai, Xiaoying ; Li, Juanzi ; Huang, Ruobo
Author_Institution :
Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing
Abstract :
Web services (WS) enables agile application development by orchestrating the existing service components. However, the dynamically constructed service-based system has to be tested dynamically and automatically at runtime without human intervention. To address the challenges of automatic WS test case generation, this paper proposes a model driven ontology-based approach with the purpose of improving test formalism and test intelligence. The semantic WS specification OWL-S is used to describe the application logic of composite service process. A Petri-Net model is created to provide a formal representation of the OWL-S (Web Ontology Language for Web service) process model. The Petri-net ontology is defined to incorporate the operation and IOPE (inputs, outputs, preconditions, and effects) semantics for test generation. Test cases are generated from two aspects. Test steps are generated by traversing various execution paths of the Petri-net graph. Test data are generated by reasoning over the IOPE ontology
Keywords :
Petri nets; Web services; formal logic; formal specification; knowledge representation languages; ontologies (artificial intelligence); program testing; Petri-net graph; Web Ontology Language; Web service specification; Web services testing; application logic; composite service process; model driven ontology; test case generation; Automatic testing; Humans; Logic testing; OWL; Ontologies; Protocols; Runtime; Software testing; System testing; Web services;
Conference_Titel :
Autonomous Decentralized Systems, 2007. ISADS '07. Eighth International Symposium on
Conference_Location :
Sedona, AZ
Print_ISBN :
0-7695-2804-X
DOI :
10.1109/ISADS.2007.54