Title :
A new approach for session-based test case generation by GA
Author :
Peng, Xuan ; Lu, Lu
Author_Institution :
Dept. of Comput. Sci. & Eng., South China Univ. of Technol., Guangzhou, China
Abstract :
User-session-based testing which relies on capturing and replaying real user sessions is an effective approach to test web applications. However, as a black-box testing, test case generation totally based on user session data may not be qualified for ensuring the reliability of web applications. This paper proposes an approach named US-RDG in terms of gray-box testing, combining User Session data with Request Dependence Graph (RDG) of web application, to automatically generate test cases with the using of GA. Simulation results indicate that US-RDG effects better than the traditional user-session-based testing, and attains higher path coverage and fault detection rate within small size of test suite.
Keywords :
Internet; automatic test pattern generation; genetic algorithms; graph theory; human computer interaction; program testing; software fault tolerance; GA; US-RDG; Web applications; automatic test case generation; black-box testing; fault detection rate; genetic algorithm; gray-box testing; path coverage; request dependence graph; session-based test case generation; test suite; user session data; user-session-based testing; Electronic publishing; automatic test case generation; genetic algorithm; request rependence graph; user session; web application testing;
Conference_Titel :
Communication Software and Networks (ICCSN), 2011 IEEE 3rd International Conference on
Conference_Location :
Xi´an
Print_ISBN :
978-1-61284-485-5
DOI :
10.1109/ICCSN.2011.6014682