Validating Ajax applications using a delay-based mutation technique

Yuta Maezawa*, Kazuki Nishiura, Shinichi Honiden, Hironori Washizaki

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

7 Citations (Scopus)

Abstract

The challenge of validating Asynchronous JavaScript and XML (Ajax) applications lies in actual errors exposed in a user environment. Several studies have proposed effective and efficient testing techniques to identify executable faults. However, the applications might have faults that are not executed during testing, but might cause actual errors in a user environment. Although we have investigated static methods for finding "potential faults" that seem to cause actual errors if executed, developers need to confirm whether or not the potential faults are actually executable. Herein, we propose a mutation-based testing method implemented in a tool called JSPreventer. Even if the potential faults are not easily executable in a given environment, our method mutates the applications until they are executable using two delay-based mutation operators to manipulate the timing of the applications handling interactions. Thus, JSPreventer provides executable evidences of the not-easily-executable faults for developers, if it reveals actual errors by testing the mutated applications. We applied our method to real-world applications and found actual errors that developers could debug to improve their reliability. Therefore, JSPreventer can help developers validate reliable real-world Ajax applications.

Original languageEnglish
Title of host publicationASE 2014 - Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering
PublisherAssociation for Computing Machinery, Inc
Pages491-501
Number of pages11
ISBN (Electronic)9781450330138
DOIs
Publication statusPublished - 2014
Event29th ACM/IEEE International Conference on Automated Software Engineering, ASE 2014 - Vasteras, Sweden
Duration: 2014 Sept 152014 Sept 19

Publication series

NameASE 2014 - Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering

Conference

Conference29th ACM/IEEE International Conference on Automated Software Engineering, ASE 2014
Country/TerritorySweden
CityVasteras
Period14/9/1514/9/19

Keywords

  • Ajax
  • JavaScript
  • Software validation
  • Web application testing

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Validating Ajax applications using a delay-based mutation technique'. Together they form a unique fingerprint.

Cite this