A business protocol unit testing framework for web service composition

  • Authors:
  • Jian Yu;Jun Han;Steven O. Gunarso;Steve Versteeg

  • Affiliations:
  • Faculty of Information and Communication Technologies, Swinburne University of Technology, Melbourne, Victoria, Australia;Faculty of Information and Communication Technologies, Swinburne University of Technology, Melbourne, Victoria, Australia;Faculty of Information and Communication Technologies, Swinburne University of Technology, Melbourne, Victoria, Australia;CA Labs, Melbourne, VIC, Australia

  • Venue:
  • CAiSE'13 Proceedings of the 25th international conference on Advanced Information Systems Engineering
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unit testing is a critical step in the development lifecycle of business processes for ensuring product reliability and dependability. Although plenty of unit testing approaches for WS-BPEL have been proposed, only a few of them designed and implemented a runnable unit testing framework, and none of them provides a technique to systematically specifying and testing the causal and temporal dependencies between the process-under-test and its partner services. In this paper, we propose a novel approach and framework for specifying and testing the inter-dependencies between the process-under-test and its partner services. The dependency constraints defined in the business protocol are declaratively specified using a pattern-based high-level language, and a FSA-based approach is proposed for detecting the violation of constraints. A testing framework that integrates with the Java Finite State Machine framework has been implemented to support the specification of both dependency constraints and test cases, and the execution and result analysis of test cases.