Volume 2 Number 3 (Sep. 2007)
Home > Archive > 2007 > Volume 2 Number 3 (Sep. 2007) >
JSW 2007 Vol.2(3): 64-77
doi: 10.4304/jsw.2.3.64-77

An Automatic Test Case Generation Framework for Web Services

Yongyan Zheng , Jiong Zhou , Paul Krause

  • Department of Computing, University of Surrey, Guildford, UK

Abstract

BPEL (Business Process Execution Language)as a de-facto standard for web service orchestration hasdrawn particularly attention from researchers and industries.BPEL is a semi-formal flow language with complexfeatures such as concurrency and hierarchy. To test a modelthoroughly, we need to cover different execution scenarios.As is well known, it is tedious, time-consuming, and errorprone to design test cases manually, especially for complexmodelling languages. Hence, it is desirable to apply existingmodel-based-testing techniques in the domain of web services.We proposed WSA (Web Service Automata) to be theoperational semantics for BPEL. Based on WSA, we proposea model checking based test case generation framework forBPEL. The SPIN and NuSMV model checkers are used asthe test generation engine, and the conventional structuraltest coverage criteria are encoded into LTL and CTLtemporal logic. State coverage and transition coverage areused for BPEL control flow testing, and all-du-path coverageis used for BPEL data flow testing. Two levels of test casescan be generated to test whether the implementation ofweb services conforms to the BPEL behaviour and WSDLinterface models. The generated test cases are executed onthe JUnit test execution engine.

Keywords

  • web services
  • finite state machine
  • mode
jsw0203-07

How to Cite

Copied

Yongyan Zheng, Jiong Zhou, and Paul Krause, "An Automatic Test Case Generation Framework for Web Services," Journal of Software, vol. 2, no. 3, pp. 64-77, 2007. https://doi.org/ 10.4304/jsw.2.3.64-77

Copyright & License

Copyright © 2007 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]