Skip to content
Open access

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

Aug 2026 · International Journal of Electrical and Computer Engineering (IJECE) · 0 citations

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.

Read PDF

Similar papers

#software testing Preprint Sep 2026

Beyond Fixed Fault Models: Comparing LLM-Based and Rule-Based Fault Injection in OpenStack

It is shown that LLM-based fault injection extends the behavioral coverage of fixed fault models without establishing general superiority, and that practical adoption still requires controlled generation, runtime validation, system-level oracles, and reproducible experimental provenance.

G. De Rosa, Pietro Liguori, D. Cotroneo · 0 citations
Preprint Sep 2026

VeriBugBench: An Empirically Grounded Framework for Constructing Verilog RTL Debugging Benchmarks

RTL source-level debugging research requires benchmark artifacts that provide faulty designs together with precise change locations, executable test stimuli, and reproducible configurations. Available Verilog resources usually provide only a subset of these elements. We present VeriBugBench, a framework for constructin...

Xiankai Meng, Ke-Jian Feng, Xin-Lin Zhao et al. · 0 citations

LLM-Mestcase: A Test Case Modification Method Based on LLMs and Mutation Testing

An LLM-based, mutation testing-driven approach for test case generation by integrating the semantic understanding of large language models with the precise evaluation mechanism of mutation testing, paving a new path for intelligent test case enhancement.

Pei-Pei Yang, Kun Jia, Tian-Fang Ma et al. · 0 citations
#software testing Preprint Sep 2026

How effective are traditional test criteria at detecting bugs in large language models generated code?

An empirical study involving 5 Large Language Models and 4 benchmarks evaluates the effectiveness and efficiency of 3 widely used adequacy criteria: statement coverage, branch coverage, and mutation testing, finding that mutation testing only marginally outperforms traditional coverage criteria in both triggering and d...

Asma Hamidi, Michael Konstantinou, R. Degiovanni et al. · 0 citations
Preprint Aug 2026

AgentChaos: Chaos Engineering for Agent Systems via Programmatic Fault Injection

Agent systems rely on LLM APIs for every response, but these APIs can return server errors, truncated responses, or corrupted content that propagates through downstream agents and causes task failure. Evaluating robustness under these faults is crucial for reliable deployment. Existing fault injection methods are offli...

Gou Tan, Zhensu Sun, Jieke Shi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.