Classifying Dynamic Pages for Supporting JSP-Based Web Application Testing
Chien‐Hung Liu, Shu Ling Chen · Applied Mechanics and Materials · 2013
To ensure the correctness of Web applications, the dynamically generated Web pages must be tested. However, this can be impractical as dynamic pages can be infinite depending on user inputs and internal states of Web applications. This paper presents an approach to classify the JSP dynamic pages for reducing the number of pages to be tested. Specifically, the approach identifies the HTML statement slices inside a JSP script and classifies the dynamic pages generated by the script according to the compositions of the HTML statement slices associated with the script's linearly independent paths. With the approach, the JSP dynamic pages containing similar testing artifacts can be classified into the same category. Thus, the number of JSP dynamic pages to be tested can be greatly reduced.