Finding bugs in dynamic web applications

  • Authors:
  • Shay Artzi;Adam Kiezun;Julian Dolby;Frank Tip;Danny Dig;Amit Paradkar;Michael D. Ernst

  • Affiliations:
  • MIT, Cambridge, MA, USA;MIT, Cambridge, MA, USA;IBM, Yorktown Heights, NY, USA;IBM, Yorktown Heights, NY, USA;MIT, Cambridge, MA, USA;IBM, Yorktown Heights, NY, USA;MIT, Cambridge, MA, USA

  • Venue:
  • ISSTA '08 Proceedings of the 2008 international symposium on Software testing and analysis
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Web script crashes and malformed dynamically-generated Web pages are common errors, and they seriously impact usability of Web applications. Current tools for Web-page validation cannot handle the dynamically-generated pages that are ubiquitous on today's Internet. In this work, we apply a dynamic test generation technique, based on combined concrete and symbolic execution, to the domain of dynamic Web applications. The technique generates tests automatically, uses the tests to detect failures, and minimizes the conditions on the inputs exposing each failure, so that the resulting bug reports are small and useful in finding and fixing the underlying faults. Our tool Apollo implements the technique for PHP. Apollo generates test inputs for the Web application, monitors the application for crashes, and validates that the output conforms to the HTML specification. This paper presents Apollo's algorithms and implementation, and an experimental evaluation that revealed 214 faults in 4 PHP Web applications.