skip to main content
10.1145/1188895.1188909acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
Article

A model-based approach for testing the performance of web applications

Published:06 November 2006Publication History

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.

References

  1. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  2. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  3. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  4. Ferrari, D. On the Foundation of Artificial Workload Design. In Proceedings of ACM SIGMETRICS. pp. 8--14, 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. JavaPet Store, http://java.sun.com/developer/releases/petstore/Google ScholarGoogle Scholar
  6. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  7. 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 ScholarGoogle ScholarCross RefCross Ref
  8. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  9. Mosberger, D. and Jin, T. httperf - A Tool for Measuring Web Server Performance. In Proceedings of the Workshop on Internet Server Performance, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. RUBiS, http://rubis.objectweb.org/Google ScholarGoogle Scholar
  11. TPC-W, http://www.tpc.org/tpcwGoogle ScholarGoogle Scholar

Index Terms

  1. A model-based approach for testing the performance of web applications

        Recommendations

        Reviews

        Amos O Olagunju

        The workload characterization and performance measurement of Web-based systems (WBS) elicit intriguing inquiries. How should representative sequences of interreliant requests be generated for use in the performance testing of WBS__?__ How should the process for creating synthetic workloads with ideal properties be automated__?__ Despite the available techniques for identifying a Web session [1,2], the shifting statistical characteristics of interrequest dependencies (IRD) make it difficult to construct sensitivity analysis tools for generating representative synthetic workloads. Shams et al. propose an application model (AM) for capturing the application logic implicit in a session-based system. The AM is useful for deriving a large set of user request sequences, and in the automatic generation of synthetic workloads with specific attributes. The AM is predicated on an extended finite state machine that is devoid of the state explosion problem, but capable of modeling applications with higher-order requests and dissimilar types of data dependencies. The proposed approach to the performance testing of Web applications requires the specifications of the workload and application models of a system under investigation for a trace generator that produces a synthetic workload. The authors implemented tools for validating consistencies in application and workload models. They investigated the effects of IRD in performance testing of Web applications. The experimental results reliably revealed the need to preserve the accurate IRD in synthetic workloads of session-based systems. Consequently, the model-based technique is highly recommended for the performance evaluation of Web applications. Online Computing Reviews Service

        Access critical reviews of Computing literature here

        Become a reviewer for Computing Reviews.

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SOQUA '06: Proceedings of the 3rd international workshop on Software quality assurance
          November 2006
          86 pages
          ISBN:1595935843
          DOI:10.1145/1188895

          Copyright © 2006 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 6 November 2006

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Upcoming Conference

          FSE '24

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader