Skip to main content

UCM-Driven Testing of Web Applications

  • Conference paper
SDL 2005: Model Driven (SDL 2005)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 3530))

Included in the following conference series:

Abstract

Despite their apparent simplicity, Web applications are surprisingly difficult to develop, if our aim is to build applications that behave correctly under regular conditions as well as adverse circumstances like out-of-order requests and race conditions. In this paper, we describe our experiences deriving customer-oriented acceptance tests for Web applications by modeling the essential capabilities of such applications with Use Case Maps (UCMs). Abstract test purposes are generated from a UCM model using scenario definitions and scenario extraction tools. These test purposes are then converted interactively to test cases in the FitNesse acceptance testing framework, which is popular in the Extreme Programming (XP) community. The test cases are used to validate a Web application where several typical but non-trivial bugs were planted. Challenges in the automation of the process are also discussed.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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. Amyot, D.: Introduction to the User Requirements Notation: Learning by Example. Computer Networks 42(3), 285–301 (2003)

    Article  Google Scholar 

  2. Amyot, D., Cho, D.Y., He, X., He, Y.: Generating Scenarios from Use Case Map Specifications. In: Third Int. Conf. on Quality Software (QSIC 2003), Dallas, USA, pp. 108–115 (November 2003)

    Google Scholar 

  3. Amyot, D., Logrippo, L., Weiss, M.: UCM-Based Generation of Test Purposes. To appear in Computer Networks (2005)

    Google Scholar 

  4. Beck, K.: Test-Driven Development By Example. Addison-Wesley, Reading (2004)

    Google Scholar 

  5. Binder, R.: Testing Object-Oriented Systems: Models, Patterns, and Tools. Addison-Wesley, Reading (2000)

    Google Scholar 

  6. Buhr, R.J.A., Casselman, R.S.: Use Case Maps for Object-Oriented Systems. Prentice Hall, Englewood Cliffs (1996), http://www.usecasemaps.org/pub/UCM_book95.pdf

  7. Burke, E.: Java and XSLT: Embedding XML Processing into Java Applications. O’Reilly, Sebastopol (2001)

    Google Scholar 

  8. Di Lucca, G., Fasolino, A., Faralli, F., de Carlini, U.: Testing Web Applications. In: 18th Int. Conf. on Software Maintenance (ICSM), pp. 310–309 (2002)

    Google Scholar 

  9. Di Lucca, G., Di Penta, M.: Considering Browser Interaction in Web Application Testing. In: 5th Int. Work. on Web Site Evolution, pp. 74–81 (2003)

    Google Scholar 

  10. Gordijn, J., Akkermans, H.: Designing and Evaluating E-Business Models. IEEE Software, 11–17 (July/August, 2001)

    Google Scholar 

  11. Hieatt, E., Mee, R.: Going Faster: Testing the Web Application. IEEE Software, 60–65 (March/April, 2002)

    Google Scholar 

  12. ITU-T – International Telecommunications Union: Recommendation Z.120 (04/04) Message Sequence Chart (MSC). Geneva, Switzerland (2004)

    Google Scholar 

  13. ITU-T – International Telecommunications Union: Recommendation Z.150 (02/03), User Requirements Notation (URN) – Language Requirements and Framework. Geneva, Switzerland (2003

    Google Scholar 

  14. Jacques, R.: Web Applications Wide Open to Hackers. vnunet.com news, February 5 (2004), http://www.vnunet.com/News/1152521

  15. jWebUnit, http://jwebunit.sourceforge.net

  16. Kaewkasi, C., Rivepiboon, W.: WWM: A Practical Methodology for Web Application Modeling. In: 26th Int. Computer Software and Applications Conf (COMPSAC), pp. 603–609 (2002)

    Google Scholar 

  17. Kung, D., Liu, C., Hsia, P.: An Object-Oriented Web Test Model for Testing Web Applications. In: 24th Int. Computer Software and Application Conf. (COMPSAC), pp. 537–542 (2000)

    Google Scholar 

  18. Martin, R., Martin, M.: FitNesse Web Site, http://www.fitnesse.org

  19. Probert, R.L., Xiong, P., Stepien, B.: Life-Cycle E-commerce Testing with OO-TTCN-3. In: Núñez, M., Maamar, Z., Pelayo, F.L., Pousttchi, K., Rubio, F. (eds.) FORTE 2004. LNCS, vol. 3236, pp. 16–29. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  20. Tomcat, http://jakarta.apache.org/tomcat

  21. UCM User Group: UCMNav 2, http://www.usecasemaps.org/tools/ucmnav/

  22. URN: Focus Group: Draft Rec. Z.152 – Use Case Map Notation (UCM). Geneva, Switzerland (September 2003), http://www.UseCaseMaps.org/urn/

  23. Weiss, M., Amyot, D.: Business Process Modeling with URN. International Journal of E-Business Research 1(3), 63–90 (2005)

    Article  Google Scholar 

  24. Wittevrongel, J., Maurer, F.: SCENTOR: Scenario-Based Testing of E-Business Applications. In: Int. Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, pp. 41–46 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Amyot, D., Roy, JF., Weiss, M. (2005). UCM-Driven Testing of Web Applications. In: Prinz, A., Reed, R., Reed, J. (eds) SDL 2005: Model Driven. SDL 2005. Lecture Notes in Computer Science, vol 3530. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11506843_18

Download citation

  • DOI: https://doi.org/10.1007/11506843_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-26612-9

  • Online ISBN: 978-3-540-31539-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics