ACM Home Page
Please provide us with feedback. Feedback
Automated replay and failure detection for web applications
Full text PdfPdf (585 KB)
Source Automated Software Engineering archive
Proceedings of the 20th IEEE/ACM international Conference on Automated software engineering table of contents
Long Beach, CA, USA
SESSION: Testing II table of contents
Pages: 253 - 262  
Year of Publication: 2005
ISBN:1-59593-993-4
Authors
Sara Sprenkle  University of Delaware, Newark, DE
Emily Gibson  University of Delaware, Newark, DE
Sreedevi Sampath  University of Delaware, Newark, DE
Lori Pollock  University of Delaware, Newark, DE
Sponsors
ACM: Association for Computing Machinery
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGSOFT: ACM Special Interest Group on Software Engineering
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 19,   Downloads (12 Months): 161,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1101908.1101947
What is a DOI?

ABSTRACT

User-session-based testing of web applications gathers user sessions to create and continually update test suites based on real user input in the field. To support this approach during maintenance and beta testing phases, we have built an automated framework for testing web-based software that focuses on scalability and evolving the test suite automatically as the application's operational profile changes. This paper reports on the automation of the replay and oracle components for web applications, which pose issues beyond those in the equivalent testing steps for traditional, stand-alone applications. Concurrency, nondeterminism, dependence on persistent state and previous user sessions, a complex application infrastructure, and a large number of output formats necessitate developing different replay and oracle comparator operators, which have tradeoffs in fault detection effectiveness, precision of analysis, and efficiency. We have designed, implemented, and evaluated a set of automated replay techniques and oracle comparators for user-session-based testing of web applications. This paper describes the issues, algorithms, heuristics, and an experimental case study with user sessions for two web applications. From our results, we conclude that testers performing user-session-based testing should consider their expectations for program coverage and fault detection when choosing a replay and oracle technique.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
A. Andrews, J. Offutt, and R. Alexander. Testing web applications by modeling with FSMs. Software Systems and Modeling, 4(2), April 2005.
2
 
3
L. Baresi and M. Young. Test oracles. Technical Report CIS-TR01-02, University of Oregon, 2001.
 
4
 
5
J. Callahan, F. Schneider, and S. Easterbrook. Automated software testing using model-checking. In SPIN Wksp, 1996.
 
6
 
7
Clover: Code coverage tool for Java. <http://www.cenqua.com/clover/>, 2005.
8
 
9
 
10
 
11
Open source web applications with source code. <http://www.gotocode.com>, 2003.
12
 
13
 
14
 
15
 
16
B. Long, D. Hoffman, and P. Strooper. Tool support for testing concurrent Java components. Trans on Software Engineering, 29(6):555--566, June 2003.
 
17
18
19
 
20
Parasoft WebKing. <http://www.parsoft.com>, 2004.
 
21
Rational Robot. <http://www-306.ibm.com/software/ awdtools/tester/robot/>, 2005.
 
22
Caucho resin. <http://www.caucho.com/resin/>, 2005.
23
24
 
25
 
26
27
 
28
 
29
S. D. Stoller. Model-checking multi-threaded distributed Java programs. Int Journal on Soft Tools for Technology Transfer, 4(1):71--91, Oct. 2002.
 
30
E. Weyuker. On testing non-testable programs. The Computer Journal, 25(4):465--70, 1982.
 
31
GNU wget. <http://www.gnu.org/software/wget/>, 2005.

CITED BY  7

Collaborative Colleagues:
Sara Sprenkle: colleagues
Emily Gibson: colleagues
Sreedevi Sampath: colleagues
Lori Pollock: colleagues