University of Kansas
An Extensible Model-Based Approach for Analyzing and Testing Dynamic Multi-Tier Web Applications
Abstract
dc:description.abstractWith the prevalence of the Internet, Web-based applications have become predominant in commercial software for all businesses, such as eCommerce, health care, government, and academia. Failures in Web applications may disrupt mission-critical operations and result in catastrophic social and economic loss. Therefore, there is a critical demand for effective and inexpensive functional testing methodologies for such applications to ensure their quality and reliability in a commercially viable way. However the existing testing methodologies are insufficient to address the testing challenges raised by the increasing complexity of Web applications, including the use of multi-tier architectures, heterogeneous execution environments, dynamic contents, and frequent requirement changes. This research aims to address the above challenges by developing an extensible gray-box model-based testing (GMT) approach. The GMT defines a set of models that capture the dependencies of testing artifacts from a multi-tier architectural perspective. The models include Web conceptual model (WCM), Web object relation model (WORM), Web data to logic integration model (WDLIM), Web presentation to logic integration model (WPLIM), and Web system integration model (WSIM). The WORM, in the form of object relation diagrams, is used to guide the test case generation for unit testing at each tier. The WLDIM and WPLIM are employed for gray-box integration testing across different tiers. The WSIM, in the forms of system dependency graphs or UML sequence diagrams, is constructed for test path selection during the black-box system testing phase. The GMT is capable of incorporating architectural styles beyond the traditional 3-tier Web applications. Extensions are developed to capture the component dependencies in elementary Web services, composite workflows, as well as Ajax-based rich Internet applications. A customizable, platform independent testing framework is developed as the reference implementation of the GMT. The framework supports model management, test data storage and retrieval, test execution in heterogeneous run-time environments, and test report generation. A comprehensive empirical study is conducted to validate the GMT approach. Sixteen medium-scale projects from industrial context are selected as the subject applications. The empirical study uses the fault seeding technique. Fifty defects obtained from real-life applications are seeded into each subject during a set of controlled experiments. For each subject, 173 measurable and calculable attributes are collected with respect to the modeling and testing profiles. Formal analysis on the experiment data is performed and GMT is empirically evaluated against a well-known benchmark method to compare testing coverage effectiveness and testing performance. This research makes several contributions to the software testing research community. Firstly, it demonstrates that the GMT approach effectively addresses the difficulty of analyzing modern multi-tier Web applications through architectural decomposition. Secondly, its empirical results verify that the GMT is highly suitable in detecting functional defects in Web applications, particularly those from inter-tier integration. Thirdly, its methodology offers a unique perspective to perform model-based testing by combining gray-box and black-box techniques at different testing phases. Finally, it proves that the customizable GMT framework can be successfully adopted in practical testing and can improve test automation at unit and integration levels. In addition, it is the first effort in the field to conduct largescale, comprehensive empirical study focusing on test method comparison. Its fault seeding database and its experimental data establish a baseline for future empirical studies.
Degree
thesis:*- Name thesis:degree_name
- Ph.D.
- Discipline thesis:degree_discipline
- Electrical Engineering & Computer Science
- Grantor dc:publisher
- University of Kansas
- Year dc:date.issued
- 2012
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Cheng, Li
- Advisor dc:contributor.advisor
-
- Saiedian, Hossein
- Committee members dc:contributor.committeemember
-
- Agah, Arvin
- Grzymala-Busse, Jerzy
- Li, Fengjun
- Barati, Reza
Subjects
dc:subject × 7Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- embargoedAccess
- Copyright held by the author.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Other
- https://www.proquest.com/docview/1271758338