2009 · 198 citations · 22 references
ComputingComputer EngineeringComputer SystemsFault-tolerant SystemsFormal MethodsWeb SecurityApplication Security TestingAsynchronous Web CommunicationSoftware TestingState ManagementWeb Application TestingWeb Application VulnerabilitiesAjaxApplication StateClient-server CommunicationClient-side TestingFlow Graph ConstructionInterface StatesInvariant-based VerificationTest Suite Generation
AJAX-based Web 2.0 applications rely on stateful asynchronous client/server communication, and client-side runtime manipulation of the DOM tree. This not only makes them fundamentally different from traditional web applications, but also more error-prone and harder to test. We propose a method for testing AJAX applications automatically, based on a crawler to infer a flow graph for all (client-side) user interface states. We identify AJAX-specific faults that can occur in such states (related to DOM validity, error messages, discoverability, back-button compatibility, etc.) as well as DOM-tree invariants that can serve as oracle to detect such faults. We implemented our approach in ATUSA, a tool offering generic invariant checking components, a plugin-mechanism to add application-specific state validators, and generation of a test suite covering the paths obtained during crawling. We describe two case studies evaluating the fault revealing capabilities, scalability, required manual effort and level of automation of our approach.
22
Finding the K Shortest Loopless Paths in a Network
Jin Y. Yen · Management Science · 1971 · 2.6K citations
Ajax: A New Approach to Web Applications
Jesse James Garrett · 2007 · 1K citations
On Testing Non-Testable Programs
Elaine J. Weyuker · The Computer Journal · 1982 · 600 citations · Full text