Title :
Leveraging User-Privilege Classification to Customize Usage-based Statistical Models of Web Applications
Author :
Sprenkle, S. ; Cobb, C. ; Pollock, Lori
Author_Institution :
Dept. of Comput. Sci., Washington & Lee Univ., Lexington, VA, USA
Abstract :
Automatically creating test cases from statistical models of web application usage is an effective approach to generating test cases that represent actual usage. The models are typically generated from all collected user sessions. In this paper, we consider how grouping the user sessions -- specifically by the user´s privilege -- creates different statistical models and the testing implications of those differences. We performed a study of user-privilege-specific navigation models and the resulting abstract test cases generated from over 19,000 user sessions to four deployed web applications. Our results suggest that grouping user sessions by the users´ privileges results in smaller navigation models, which yield realistic test cases that represent users with that privilege well while also exploring navigations not seen in the input user sessions. In some cases, the user-privilege-specific models are significantly smaller, which allows the tester to either (a) generate relatively few test cases and still represent the user type well or (b) create test cases from a less abstract model -- without exorbitant model space costs or the need for additional models to generate executable test cases. However, the benefits are not universal for all applications, thus, we present guidance to testers on metrics to determine whether creating user-privilege-specific test cases will be advantageous.
Keywords :
Internet; program testing; statistical analysis; Web application; abstract test cases; usage-based statistical model; user sessions; user-privilege classification; user-privilege-specific navigation model; user-privilege-specific test cases; Analytical models; Browsers; Data models; Educational institutions; Electronic mail; Navigation; Testing; usage-based stastical models; web application testing;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
DOI :
10.1109/ICST.2012.96