Validating Ajax applications using a delay-based mutation technique

Yuta Maezawa, Kazuki Nishiura, Shinichi Honiden, Hironori Washizaki

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

5 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 Jan 1
Event29th ACM/IEEE International Conference on Automated Software Engineering, ASE 2014 - Vasteras, Sweden
Duration: 2014 Sep 152014 Sep 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
CountrySweden
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

    Maezawa, Y., Nishiura, K., Honiden, S., & Washizaki, H. (2014). Validating Ajax applications using a delay-based mutation technique. In ASE 2014 - Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering (pp. 491-501). (ASE 2014 - Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering). Association for Computing Machinery, Inc. https://doi.org/10.1145/2642937.2642996