Ontology-Based Test Case Generation for Testing Web Services

  • Authors:
  • Yongbo Wang;Xiaoying Bai;Juanzi Li;Ruobo Huang

  • Affiliations:
  • Tsinghua University, China,;Tsinghua University, China;Tsinghua University, China;IBM China Software Development Laboratory (CSDL)

  • Venue:
  • ISADS '07 Proceedings of the Eighth International Symposium on Autonomous Decentralized Systems
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

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.