Automated test input generation for web applications
Abstract
A method and apparatus is disclosed herein for automated test input generation for web applications. In one embodiment, the method comprises performing a source-to-source transformation of the program; performing interpretation on the program based on a set of test input values; symbolically executing the program; recording a symbolic constraint for each of one or more conditional expressions encountered during execution of the program, including analyzing a string operation in the program to identify one or more possible execution paths, and generating symbolic inputs representing values of variables in each of the conditional expressions as a numeric expression and a string constraint including generating constraints on string values by modeling string operations using finite state transducers (FSTs) and supplying values from the program's execution in place of intractable sub-expressions; and generating new inputs to drive the program during a subsequent iteration based on results of solving the recorded string constraints.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating test inputs for applying concolic testing in a program, the method comprising: receiving a program; performing a source-to-source transformation of the program; performing interpretation on the program based on a set of test input values; symbolically executing the program; recording a symbolic constraint for each of one or more conditional expressions encountered during execution of the program further comprising; for each variable occurrence in a Boolean control expression, creating a copy of the expression and setting all other variable occurrences in the expression
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 31 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- "Hybrid Concolic Testing" Majumdar, R.; Sen, K. Software Engineering, 2007. ICSE 2007- Jun. 4, 2007.
- Artzi, Shay, et al., "Finding Bugs in Dynamic Web Applications", Proceedings of the 2008 International Symposium on Software Testing and Analysis, Jul. 2008, pp. 261-271, Seattle, Washington, USA.
- Benedikt, M., et al., "Veriweb: Automatically testing dynamic web sites", In Proc. WWW, 2002.
- Cadar, C., et al., "Exe: automatically generating inputs of death", In Proc. CCS, pp. 322-335, 2006.
- Cadar, C., et al., "Execution generated test cases: How to make system code crash itself", In Proc. SPIN., pp. 2-23, 2005.