ABSTRACT
Poor performance of Web-based systems can adversely impact the profitability of enterprises that rely on them. As a result, effective performance testing techniques are essential for understanding whether a Web-based system will meet its performance objectives when deployed in the real world. The workload of a Web-based system has to be characterized in terms of sessions; a session being a sequence of inter-dependent requests submitted by a single user. Dependencies arise because some requests depend on the responses of earlier requests in a session. To exercise application functions in a representative manner, these dependencies should be reflected in the synthetic workloads used to test Web-based systems. This makes performance testing a challenge for these systems. In this paper, we propose a model-based approach to address this problem. Our approach uses an application model that captures the dependencies for a Web-based system under study. Essentially, the application model can be used to obtain a large set of valid request sequences representing how users typically interact with the application. This set of sequences can be used to automatically construct a synthetic workload with desired characteristics. The application model provides an indirection which allows a common set of workload generation tools to be used for testing different applications. Consequently, less effort is needed for developing and maintaining the workload generation tools and more effort can be dedicated towards the performance testing process.
- Andrews, A., Offutt, J. and Alexander, R. Testing Web-Applications by Modeling with FSMs. Software Systems and Modeling. Vol. 4, No. 3, pp. 326--345, July 2005.Google ScholarDigital Library
- Banga, G. and Druschel, P. Measuring the Capacity of a Web Server under Realistic Loads. In Proceedings of the International World Wide Web Conference. 1999. Google ScholarDigital Library
- Barford, P. and Crovella, M. Generating Representative Web Workloads for Network and Server Performance Evaluation. In Proceedings of ACM SIGMETRICS. pp. 151--160, 1998. Google ScholarDigital Library
- Ferrari, D. On the Foundation of Artificial Workload Design. In Proceedings of ACM SIGMETRICS. pp. 8--14, 1984. Google ScholarDigital Library
- JavaPet Store, http://java.sun.com/developer/releases/petstore/Google Scholar
- Krishnamurthy, D. Synthetic Workload Generation for Stress Testing Session-Based Systems. PhD. Thesis, Department of Systems and Computer Engineering, Carleton University, Ottawa, Canada, 2004. Google ScholarDigital Library
- Lee, D. and Yannakakis, M. Principles and Methods of Testing Finite State Machines - A Survey. Proceedings of IEEE. Vol. 84, pp. 1090--1123, August 1996.Google ScholarCross Ref
- Menasce, D., Almeida, V., Fonesca, R. and Mendes, M. A Methodology for Workload Characterization of E-Commerce Sites. In Proceedings of the ACM Conference on Electronic Commerce, pp. 119--128, 1999. Google ScholarDigital Library
- Mosberger, D. and Jin, T. httperf - A Tool for Measuring Web Server Performance. In Proceedings of the Workshop on Internet Server Performance, 1998. Google ScholarDigital Library
- RUBiS, http://rubis.objectweb.org/Google Scholar
- TPC-W, http://www.tpc.org/tpcwGoogle Scholar
Index Terms
- A model-based approach for testing the performance of web applications
Recommendations
Performance Testing Framework for REST-Based Web Applications
QSIC '13: Proceedings of the 2013 13th International Conference on Quality SoftwareRecently, enterprises, organizations, and software companies are building more and more web applications to provide their services over the Internet. In order to fulfill various requirements, the complexity of web applications nowadays is increasing ...
Performance Testing Complexity Analysis on Ajax-Based Web Applications
The Ajax model of Web applications development has rapidly gained popularity because it promises to bring the richness and responsiveness of desktop applications to the Web. Ajax implementations differ fundamentally from other Web implementations--...
Testing web applications focusing on their specialties
Nowadays, Web applications are very prevalent around the world, and it becomes more and more important to ensure their qualities by testing. However, due to the special characters of Web applications, traditional testing methods are not suitable for Web ...
Comments