DocumentCode
1566156
Title
Data flow analysis and testing of Java Server Pages
Author
Liu, Chein-Hung
Author_Institution
Dept. of Comput. Sci. & Inf. Eng., Nat. Taiwan Univ. of Technol., Taipei, Taiwan
Volume
2
fYear
2004
Firstpage
114
Abstract
Web applications often rely on server-side scripts to handle HTTP requests, to generate dynamic contents, and to interact with other components. The server-side scripts usually mix with HTML statements and are difficult to understand and test. In particular, these scripts do not have any compiling check and could be error-prone. Thus, it becomes critical to test the server-side scripts for ensuring the quality and reliability of Web applications. We adapt traditional dataflow testing techniques into the context of Java Server Pages (JSP), a very popular server-side script for developing Web applications with Java technology. We point out that the JSP implicit objects and action tags can introduce several unique dataflow test artifacts which need to be addressed. A test model is presented to capture the dataflow information of JSP pages with considerations of various implicit objects and action tags. Based on the test model, we describe an approach to compute the intraprocedural and interprocedural data flow test paths for uncovering the data anomalies of JSP pages.
Keywords
Internet; Java; client-server systems; data flow analysis; hypermedia markup languages; program testing; HTML statement; Java Server Page testing; data flow analysis; server-side script; Application software; Computer applications; Data analysis; Data flow computing; Java; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference, 2004. COMPSAC 2004. Proceedings of the 28th Annual International
ISSN
0730-3157
Print_ISBN
0-7695-2209-2
Type
conf
DOI
10.1109/CMPSAC.2004.1342689
Filename
1342689
Link To Document