Volume 5 Number 11 (Nov. 2010)
Home > Archive > 2010 > Volume 5 Number 11 (Nov. 2010) >
JCP 2010 Vol.5(11): 1655-1662 ISSN: 1796-203X
doi: 10.4304/jcp.5.11.1655-1662

Test Case Generation and Optimization for User Session-based Web Application Testing

Zhongsheng Qian
School of Information Technology, Jiangxi University of Finance and Economics, Nanchang, China

Abstract—Web application testing is the process of revealing errors that is used to give confidence that the implementation of a Web application meets its original specification. An approach to reducing and optimizing the test cases generated from user request traces is presented. A large volume of meaningful user sessions are obtained after purging their irrelevant information by analyzing user logs on the Web server. Most of the redundant user sessions are also removed after reducing them. For test reuse and test concurrency, it divides the user sessions obtained into different groups, each of which is called a test suite, and then prioritizes the test suites and the test cases of each test suite. So, the initial test suites and test cases, and their initial executing sequences are achieved. However, the test scheme generated by the elementary prioritization is not much approximate to the best one. Therefore, genetic algorithm is further employed to optimize the results of grouping and prioritization. Meanwhile, an approach to generating new test cases is presented using crossover.

Index Terms—user session, genetic algorithm, test case, test suite, reduction, prioritization, grouping, common prefix

[PDF]

Cite: Zhongsheng Qian, " Test Case Generation and Optimization for User Session-based Web Application Testing," Journal of Computers vol. 5, no. 11, pp. 1655-1662, 2010.

General Information

ISSN: 1796-203X
Abbreviated Title: J.Comput.
Frequency: Bimonthly
Editor-in-Chief: Prof. Liansheng Tan
Executive Editor: Ms. Nina Lee
Abstracting/ Indexing: DBLP, EBSCO,  ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat,etc
E-mail: jcp@iap.org
  • Nov 14, 2019 News!

    Vol 14, No 11 has been published with online version   [Click]

  • Mar 20, 2020 News!

    Vol 15, No 2 has been published with online version   [Click]

  • Dec 16, 2019 News!

    Vol 14, No 12 has been published with online version   [Click]

  • Sep 16, 2019 News!

    Vol 14, No 9 has been published with online version   [Click]

  • Aug 16, 2019 News!

    Vol 14, No 8 has been published with online version   [Click]

  • Read more>>