Automatic Test Case Generation for Multi-tier Web Applications

Testing multi-tier Web applications is challenging yet critical. First, because of inter-tier interactions, a fault in one tier may propagate to the others. Second, Web applications are often continuously evolving. Testing such emerging applications must efficiently generate test cases to catch up with fast-paced evolution and effectively capture cross-tier faults. We present a technique based on an inter-connection dependence model to generate sequences of Web pages that are potentially fault prone. To ensure that these sequences of Web pages will be exercised as designated, the path condition for each execution path is computed and used to determine the domain of each input parameter and database state. Input data for each Web page can then be automatically generated by using boundary value analysis. The test suite generated by our technique guarantees that inter-tier interactions will be adequately tested.

[1]  Giuseppe A. Di Lucca,et al.  Testing Web applications , 2002, International Conference on Software Maintenance, 2002. Proceedings..

[2]  Paolo Tonella,et al.  Analysis and testing of Web applications , 2001, Proceedings of the 23rd International Conference on Software Engineering. ICSE 2001.

[3]  David W. Binkley,et al.  Interprocedural slicing using dependence graphs , 1990, TOPL.

[4]  Conclusions , 1989 .

[5]  James C. King,et al.  Symbolic execution and program testing , 1976, CACM.

[6]  Mei-Hwa Chen,et al.  Maintaining Multi-Tier Web Applications , 2007, 2007 IEEE International Conference on Software Maintenance.

[7]  Siddhartha R. Dalal,et al.  Model-based testing in practice , 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002).

[8]  Mary Jean Harrold,et al.  Slicing object-oriented software , 1996, Proceedings of IEEE 18th International Conference on Software Engineering.

[9]  Zhenyu Dai,et al.  Automatic Test Generation for Database-Driven Applications , 2007, SEKE.

[10]  Alexander Pretschner,et al.  Model-Based Testing in Practice , 2005, FM.

[11]  Augusto Sampaio,et al.  Automatic Test-Case Generation , 2007, PSSE.

[12]  Dai Pan,et al.  Slicing component-based systems , 2005, 10th IEEE International Conference on Engineering of Complex Computer Systems (ICECCS'05).