Skip to main content

Unit Testing BPEL Compositions

  • Chapter
Test and Analysis of Web Services

Abstract

Service-Oriented Architecture is a new emerging architectural style for developing distributed business applications. Those applications are often realized using Web services. These services are grouped into BPEL compositions.

However, these applications need to be tested. For achieving better software quality, testing has to be done along the whole development process. Within this chapter a unit testing framework for BPEL named BPELUnit is presented. BPELUnit allows unit and integration tests of BPEL compositions. The tester is supported as much as possible: The used Web services can be replaced during test execution. This allows to really isolate the BPEL composition as a unit and guarantees repeatable tests.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alonso, Gustavo, Casati, Fabio, Kuno, Harumi, and Machiraju, Vijay (2003). Web Services. Springer, 1st edition.

    Google Scholar 

  2. Beck, Kent (2000). Extreme Programming Explained. Addison-Wesley.

    Google Scholar 

  3. Dijkstra, Edsger Wybe (1971). Structured programming, chapter Notes on structured programming, pages 1–82. Academic Press.

    Google Scholar 

  4. Flohr, Thomas and Schneider, Thorsten (2006). Lessons learned from an XP Experiment with Students: Test-First needs more teachings. In Proceedings of the Profes 2006.

    Google Scholar 

  5. George, Boby and Williams, Laurie (2003). A Structured Experiment of Test-Driven Developmen. Information and Software technology, 46(5):337–342.

    Article  Google Scholar 

  6. java.net (2006). WSUnit - The Web Services Testing Tool. WWW: https://wsunit.dev.java.net/.

    Google Scholar 

  7. jmock.org (2006). jMock. WWW: http://www.jmock.org/.

    Google Scholar 

  8. JUnit.org (2006). JUnit. WWW: http://www.junit.org.

    Google Scholar 

  9. Juric, Matjaz B., Kezmah, Bostjan, Hericko, Marjan, Rozman, Ivan, and Vezocnik, Ivan (2004). Java RMI, RMI tunneling and Web services comparison and performance analysis. SIGPLAN Not., 39(5):58–65.

    Article  Google Scholar 

  10. Kapfhammer, Gregory M. (2001). Automatically and Transparently Distributing the Execution of Regression Test Suites. In Proceedings of the 18th International Conference on Testing Computer Software.

    Google Scholar 

  11. Li, Zhongjie, Sun, Wei, Jiang, Zhong Bo, and Zhang, Xin (2005). BPEL4WS Unit Testing: Framework and Implementation. In ICWS ’05: Proceedings of the IEEE International Conference on Web Services (ICWS’05),pages 103–110, Washington, DC, USA. IEEE Computer Society.

    Google Scholar 

  12. Mayer, Philip (2006). Design and Implementation of a Framework for Testing BPEL Compositions. Master’s thesis, Gottfried Wilhelm Leibniz Unversität Hannover.

    Google Scholar 

  13. Mayer, Philip and Lübke, Daniel (2006). Towards a BPEL unit testing framework. In TAV-WEB ’06: Proceedings of the 2006 workshop on Testing, analysis, and verification of web services and applications, pages 33–42, New York, NY, USA. ACM Press.

    Google Scholar 

  14. McConnell, Steve (2004). Code Complete. Microsoft Press, 2nd edition.

    Google Scholar 

  15. Myers, Glenford J. (1979). The Art of Software Testing. John Wiley & Sons.

    Google Scholar 

  16. Project, Cobertura (2006). Cobertura Homepage. WWW: http://cobertura.sourceforge.net/.

    Google Scholar 

  17. Safi, Bassim Aziz (2005). Distributed JUnit. Bachelor Thesis at University Hannover.

    Google Scholar 

  18. Zhu, Hong, Hall, Patrick A. V., and May, John H. R. (1997). Software unit test coverage and adequacy. ACM Comput. Surv., 29(4):366–427.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Lübke, D. (2007). Unit Testing BPEL Compositions. In: Baresi, L., Nitto, E.D. (eds) Test and Analysis of Web Services. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-72912-9_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-72912-9_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-72911-2

  • Online ISBN: 978-3-540-72912-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics