Skip to main content

An Approach for Model-Driven Design and Generation of Performance Test Cases with UML and MARTE

  • Conference paper
Software and Data Technologies (ICSOFT 2011)

Abstract

High-quality software needs to meet both functional and non-functional requirements. In some cases, software must accomplish specific performance requirements, but most of the time, only high-level performance requirements are available: it is up to the developer to decide what performance should be expected from each part of the system. In this work, we show several algorithms that infer the required throughput and time limits for each action in an UML activity diagram from a global constraint and some optional local annotations. After studying their theoretical and empirical performance, we propose an approach for generating performance test cases from the activity diagram after it has been implemented as code. Our approach decouples the performance analysis model from the implementation details of the code to be tested.

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. Alhaj, M., Petriu, D.C.: Approach for generating performance models from UML models of SOA systems. In: Proc. of the 2010 Conference of the Center for Advanced Studies on Collaborative Research, CASCON 2010, pp. 268–282. ACM, New York (2010)

    Chapter  Google Scholar 

  2. Apache Software Foundation: Apache CXF (November 2011), https://cxf.apache.org/

  3. Avritzer, A., Vieira, M.E.R.: Generating performance tests from UML specifications using Markov chains. USPTO Patent Application 11/386,971 (November 2006)

    Google Scholar 

  4. Avritzer, A., Weyuker, E.J.: The automatic generation of load test suites and the assessment of the resulting software. IEEE Transactions on Software Engineering 21(9), 705–716 (1995)

    Article  Google Scholar 

  5. Avritzer, A., Weyuker, E.J.: The role of modeling in the performance testing of e-commerce applications. IEEE Transactions on Software Engineering 30(12), 1072–1083 (2004)

    Article  Google Scholar 

  6. Bernardi, S., Campos, J., Merseguer, J.: Timing-Failure risk assessment of UML design using time petri net bound techniques. IEEE Transactions on Industrial Informatics PP(99), 1 (2010)

    Google Scholar 

  7. Bernardi, S., Merseguer, J., Petriu, D.C.: A dependability profile within MARTE. Software & Systems Modeling 10(3), 313–336 (2009)

    Article  Google Scholar 

  8. Bruneliere, H., Cabot, J., Jouault, F., Madiot, F.: MoDisco: a generic and extensible framework for model driven reverse engineering. In: Proceedings of the IEEE/ACM International Conference on Automated Software Engineering, Antwerp, Belgium, pp. 173–174 (September 2010)

    Google Scholar 

  9. Bézivin, J., Jouault, F., Rosenthal, P., Valduriez, P.: The AMMA platform support for modeling in the large and modeling in the small. Research Report 04.09, LINA, University of Nantes, Nantes, France (February 2005)

    Google Scholar 

  10. Clark, M.: JUnitPerf (October 2009), http://clarkware.com/software/JUnitPerf.html

  11. Del Fabro, M.D., Bézivin, J., Valduriez, P.: Weaving models with the eclipse AMW plugin. In: Proceedings of the 2006 Eclipse Modeling Symposium, Eclipse Summit Europe, Esslingen, Germany (October 2006)

    Google Scholar 

  12. Eclipse Foundation: Homepage of the Eclipse MDT Papyrus project (2011), http://www.eclipse.org/modeling/mdt/papyrus/

  13. Erl, T.: SOA: Principles of Service Design. Prentice Hall, Indiana (2008)

    Google Scholar 

  14. Apache Software Foundation: Apache JMeter (November 2011), http://jakarta.apache.org/jmeter/

  15. García-Domínguez, A.: Homepage of the SODM+T project (January 2011), https://neptuno.uca.es/redmine/projects/sodmt

  16. García-Domínguez, A., Medina-Bulo, I., Marcos-Bárcena, M.: Inference of performance constraints in Web Service composition models. In: CEUR Workshop Proc. of the 2nd Int. Workshop on Model-Driven Service Engineering, vol. 608, pp. 55–66 (June 2010)

    Google Scholar 

  17. Garousi, V.: Traffic-aware Stress Testing of Distributed Real-Time Systems based on UML Models using Genetic Algorithms. PhD thesis, Carleton University, Ottawa, Canada (August 2006)

    Google Scholar 

  18. Kolovos, D.S.: Epsilon ModeLink (2011), http://eclipse.org/gmt/epsilon/doc/modelink/

  19. Kolovos, D., Paige, R., Rose, L., Polack, F.: The Epsilon Book (2010), http://www.eclipse.org/gmt/epsilon

  20. Lucas, H.: Performance evaluation and monitoring. ACM Computing Surveys 3(3), 79–91 (1971)

    Article  MathSciNet  MATH  Google Scholar 

  21. OMG: UML Profile for Schedulability, Performance, and Time (SPTP) 1.1 (January 2005), http://www.omg.org/spec/SPTP/1.1/

  22. OMG: UML Profile for Modeling Quality of Service and Fault Tolerance Characteristics and Mechanisms (QFTP) 1.1 (April 2008), http://www.omg.org/spec/QFTP/1.1/

  23. OMG: UML Profile for Modeling and Analysis of Real-Time and Embedded systems (MARTE) 1.0 (November 2009), http://www.omg.org/spec/MARTE/1.0/

  24. Shousha, M., Briand, L.C., Labiche, Y.: A UML/MARTE Model Analysis Method for Detection of Data Races in Concurrent Systems. In: Schürr, A., Selic, B. (eds.) MODELS 2009. LNCS, vol. 5795, pp. 47–61. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  25. Smith, C.U., Williams, L.G.: Software performance engineering. In: Lavagno, L., Martin, G., Selic, B. (eds.) UML for Real: Design of Embedded Real-Time Systems, pp. 343–366. Kluwer, The Netherlands (2003)

    Google Scholar 

  26. Tribastone, M., Gilmore, S.: Automatic extraction of PEPA performance models from UML activity diagrams annotated with the MARTE profile. In: Proc. of the 7th Int. Workshop on Software and Performance, Princeton, NJ, USA, pp. 67–78. ACM (2008)

    Google Scholar 

  27. Weyuker, E.J., Vokolos, F.I.: Experience with performance testing of software systems: Issues, an approach, and case study. IEEE Transactions on Software Engineering 26, 1147–1156 (2000)

    Article  Google Scholar 

  28. Woodside, M., Franks, G., Petriu, D.: The future of software performance engineering. In: Proc. of Future of Software Engineering 2007, pp. 171–187 (2007)

    Google Scholar 

  29. Woodside, M.: From Annotated Software Designs (UML SPT/MARTE) to Model Formalisms. In: Bernardo, M., Hillston, J. (eds.) SFM 2007. LNCS, vol. 4486, pp. 429–467. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  30. Woodside, M., Petriu, D.C., Petriu, D.B., Shen, H., Israr, T., Merseguer, J.: Performance by unified model analysis (PUMA). In: Proc. of the 5th Int. Workshop on Software and Performance, Palma, Illes Balears, Spain, pp. 1–12. ACM (2005)

    Google Scholar 

  31. World Wide Web Consortium: WSDL 2.0 part 1: Core Language (June 2007), http://www.w3.org/TR/wsdl20

  32. Yang, N., Yu, H., Sun, H., Qian, Z.: Modeling UML sequence diagrams using extended Petri nets. In: Proc. of the 2010 Int. Conference on Information Science and Applications, pp. 1–8 (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

García-Domínguez, A., Medina-Bulo, I., Marcos-Bárcena, M. (2013). An Approach for Model-Driven Design and Generation of Performance Test Cases with UML and MARTE. In: Escalona, M.J., Cordeiro, J., Shishkov, B. (eds) Software and Data Technologies. ICSOFT 2011. Communications in Computer and Information Science, vol 303. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36177-7_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-36177-7_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-36176-0

  • Online ISBN: 978-3-642-36177-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics