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

Zhongsheng Qian
2010 Journal of Computers  
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
more » ... g 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.
doi:10.4304/jcp.5.11.1655-1662 fatcat:7ux4ppmksrcrdibdbtpj3higia