Scenario-driven fault injection for realistic bugs in web application testing.

Saved in:
Bibliographic Details
Title: Scenario-driven fault injection for realistic bugs in web application testing.
Authors: Maspupah, Asri1 asri.maspupah@polban.ac.id, Min, Joe Lian1, Aditya, Yadhi1
Source: International Journal of Electrical & Computer Engineering (2088-8708). Aug2026, Vol. 16 Issue 4, p2014-2030. 17p.
Subjects: Computer software testing, Requirements engineering, Defect tracking (Computer software development), Software failures
Abstract: Conventional mutation-based fault injection techniques generally produce single-line syntactic faults, which often fail to represent realistic errors at the functional requirement level because requirement context, execution paths, and functional dependencies are not considered. To address this limitation, this study proposes scenario-driven fault injection (SDFI), a scenario-based fault insertion approach that derives faults from functional requirements and test cases. SDFI integrates operational fault localization, web fault taxonomy, fault injection patterns, and functional scenario mapping to produce targeted fault injections at relevant code locations, resulting in a realistic bug dataset with multi-line faults. An experimental evaluation on a real web application produced 29 mutants, achieving a fault detection rate of 89.29% based on the RIP model. Further analysis shows that the generated mutants replicate common real-world bug characteristics, including logic errors, validation anomalies, inter-function data propagation, and multi-line faults affecting client–server application behavior. These results demonstrate that SDFI is effective in producing realistic bug datasets for evaluating software testing quality, improving test case effectiveness, and supporting further research on requirement-based fault realism. [ABSTRACT FROM AUTHOR]
Copyright of International Journal of Electrical & Computer Engineering (2088-8708) is the property of Institute of Advanced Engineering & Science and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
Description
Abstract:Conventional mutation-based fault injection techniques generally produce single-line syntactic faults, which often fail to represent realistic errors at the functional requirement level because requirement context, execution paths, and functional dependencies are not considered. To address this limitation, this study proposes scenario-driven fault injection (SDFI), a scenario-based fault insertion approach that derives faults from functional requirements and test cases. SDFI integrates operational fault localization, web fault taxonomy, fault injection patterns, and functional scenario mapping to produce targeted fault injections at relevant code locations, resulting in a realistic bug dataset with multi-line faults. An experimental evaluation on a real web application produced 29 mutants, achieving a fault detection rate of 89.29% based on the RIP model. Further analysis shows that the generated mutants replicate common real-world bug characteristics, including logic errors, validation anomalies, inter-function data propagation, and multi-line faults affecting client–server application behavior. These results demonstrate that SDFI is effective in producing realistic bug datasets for evaluating software testing quality, improving test case effectiveness, and supporting further research on requirement-based fault realism. [ABSTRACT FROM AUTHOR]
ISSN:20888708
DOI:10.11591/ijece.v16i4.pp2014-2030