BPEL-Unit: JUnit for BPEL Processes

  • Zhong Jie Li
  • Wei Sun
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4294)


Thanks to unit test frameworks such as JUnit, unit testing has become a common practice in object-oriented software development. However, its application in business process programming is far from prevalent. Business process unit testing treats an individual process as the unit under test, and tests its internal logic thoroughly by isolating it from the partner processes. This types of testing cannot be done by current web service testing technologies that are black-box based. This paper proposes an approach to unit testing of Business Process Execution Language for Web services (BPEL4WS, or WS-BPEL as the new name), and introduces a tool prototype named BPEL-Unit, which extends JUnit. The key idea of this approach is to transform process interaction via web service invocations to class collaboration via method calls, and then apply object-oriented test frameworks. BPEL-Unit provides the following advantages: allow developers simulate partner processes easily, simplify test case writing, speed test case execution, and enable automatic regression testing. With BPEL-Unit, BPEL process unit testing can be performed in a standardized, unified and efficient way.


Business Process Unit Testing Service Proxy Test Logic Service Invocation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
  2. 2.
    Process Markup Languages,
  3. 3.
    Li, Z.J., Sun, W., Jiang, Z.B., Zhang, X.: Bpel4ws unit testing: framework and implementation. In: ICWS 2005, July 11-15, vol. 1, pp. 103–110 (2005)Google Scholar
  4. 4.
    Test Driven Development,
  5. 5.
    WS-Unit. The Web Service Testing Tool,
  6. 6.
    ANTEater. Ant based functional testing,
  7. 7.
  8. 8.
  9. 9.
    Mayer, P., Lubke, D.: Towards a BPEL unit testing framework. In: TAVWEB 2006, pp. 33–42 (2006)Google Scholar
  10. 10.
  11. 11.
  12. 12.

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Zhong Jie Li
    • 1
  • Wei Sun
    • 1
  1. 1.IBM China Research LabBeijingChina

Personalised recommendations