Uma Abordagem de Análise do Tempo de Resposta para Teste de Desempenho em Aplicações Web

  • Priscila Guarienti PUCRS
  • Maicon Bernardino PUCRS
  • Avelino F. Zorzo PUCRS
  • Flávio M. Oliveira PUCRS

Abstract


The testing activity is usually very expensive and time consuming, since most of the time it is executed manually. To improve that, Model-Based Testing (MBT) has been used lately to generate testing artifacts automatically. The main contribution of this work is to investigate how MBT can be applied for performance testing, i.e. how to include timing constraints in UML diagrams and based on them to execute the tests automatically, and verify whether the constraints are met or not. Another contribution is the setting of service level agreements, i.e. set parameters to verify whether a system delivers answers based on pre-agreed values. We applied our whole strategy to a complete case study and measured its execution time, as well as discuss some of our results.

References

Apfelbaum, L. and Doyle, J. (1997). Model Based Testing. In Proceedings of the Software Quality Week Conference, pages 296–300.

Blokdijk, G. and Menken, I. (2008). Service Level Management Best Practice Handbook: Building, Running and Managing Effective Service Level Management SLAs - Ready to Use Supporting Documents Bringing ITIL Theory into Practice. Emereo Pty Ltd, London, UK.

Clements, P. and Northrop, L. (2001). Software Product Lines: Practices and Patterns. Addison-Wesley Longman Publishing, 3rd edition.

Costa, L. T., Czekster, R. M., de Oliveira, F. M., Rodrigues, E. M., Silveira, M. B., and Zorzo, A. F. (2012). Generating Performance Test Scripts and Scenarios Based on Abstract Intermediate Models. In Proceedings of the 24th International Conference on Software Engineering and Knowledge Engineering, pages 112–117.

de Oliveira, F. M., Menna, R. d. S., Vieira, H. V., and Ruiz, D. D. A. (2007). Performance Testing from UML Models with Resource Descriptions. I Brazilian Workshop on Systematic and Automated Software Testing, pages 47–51.

El-Far, I. K. and Whittaker, J. A. (2001). Model-based Software Testing, pages 825–837. Wiley, New York, USA.

Geetha, D. E., Kumar, T. S., and Kanth, K. R. (2011). Framework for Hybrid Performance Prediction Process Model: Use Case Performance Engineering Approach. SIGSOFT Software Engineering Notes, 36(3):1–15.

Hewlett Packard – HP (2014). Software HP LoadRunner. Disponível em: https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp.

Kalita, M., Khanikar, S., and Bezboruah, T. (2011). Investigation on performance testing and evaluation of PReWebN: a java technique for implementing web application. Institution of Engineering and Technology Software, 5(5):434–444.

Luo, G., Petrenko, A., and v. Bochmann, G. (1995). Selecting test sequences for partially-specified nondeterministic finite state machines. In 7th IFIP WG 6.1 International Workshop on Protocol Test Systems, pages 95–110.

Meier, J., Farre, C., Bansode, P., Barber, S., and Rea, D. (2007). Performance testing guidance for web applications: patterns & practices. Microsoft Press, Redmond, USA.

Rodrigues, E. M., Viccari, L. D., Zorzo, A. F., and de Souza Gimenes, I. M. (2010). PLeTs-Test Automation using Software Product Lines and Model Based Testing. In Proceedings of the 22th International Conference on Software Engineering and Knowledge Engineering, pages 483–488.

Silveira, M. B., Rodrigues, E. M., Zorzo, A. F., Costa, L. T., Vieira, H. V., and de Oliveira, F. M. (2011). Generation of Scripts for Performance Testing Based on UML Models. In Proceedings of the 23rd International Conference on Software Engineering and Knowledge Engineering, pages 258–263.

Smith, C. U. (2002). Software Performance Engineering. John Wiley & Sons, New York, USA.

Software Engineering Institute (SEI) (2014). Software Product Lines (SPL). Disponível em: http://www.sei.cmu.edu/productlines/.

Stilian, G. (1967). PERT: un nuevo instrumento de planificación y control. Deusto.

Vasar, M., Srirama, S. N., and Dumas, M. (2012). Framework for Monitoring and Testing Web Application Scalability on the Cloud. In Proceedings of the WICSA/ECSA Companion Volume, pages 53–60.

Weiss, C., Westermann, D., Heger, C., and Moser, M. (2013). Systematic Performance Evaluation Based on Tailored Benchmark Applications. In Proceedings of the 4th ACM/SPEC International Conference on Performance Engineering, pages 411–420.

Woodside, M., Franks, G., and Petriu, D. C. (2007). The Future of Software Performance Engineering. In Proceedings of the Future of Software Engineering, pages 171–187.
Published
2014-05-05
GUARIENTI, Priscila; BERNARDINO, Maicon; ZORZO, Avelino F.; OLIVEIRA, Flávio M.. Uma Abordagem de Análise do Tempo de Resposta para Teste de Desempenho em Aplicações Web. In: FAULT TOLERANCE WORKSHOP (WTF), 15. , 2014, Florianópolis/SC. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2014 . p. 17-30. ISSN 2595-2684. DOI: https://doi.org/10.5753/wtf.2014.22944.