JOURNAL ARTICLE

JavaScript SBST Heuristics to Enable Effective Fuzzing of NodeJS Web APIs

Man ZhangAsma BelhadiAndrea Arcuri

Year: 2023 Journal:   ACM Transactions on Software Engineering and Methodology Vol: 32 (6)Pages: 1-29   Publisher: Association for Computing Machinery

Abstract

JavaScript is one of the most popular programming languages. However, its dynamic nature poses several challenges to automated testing techniques. In this paper, we propose an approach and open-source tool support to enable white-box testing of JavaScript applications using Search-Based Software Testing (SBST) techniques. We provide an automated approach to collect search-based heuristics like the common Branch Distance and to enable Testability Transformations . To empirically evaluate our results, we integrated our technique into the EvoMaster test generation tool, and carried out analyses on the automated system testing of RESTful and GraphQL APIs. Experiments on eight Web APIs running on NodeJS show that our technique leads to significantly better results than existing black-box and grey-box testing tools, in terms of code coverage and fault detection.

Keywords:
Computer science JavaScript Fuzz testing Heuristics White-box testing Programming language Code coverage Software engineering Software testing Software Test case Operating system Software development Machine learning Software construction

Metrics

6
Cited By
1.92
FWCI (Field Weighted Citation Impact)
62
Refs
0.87
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

BOOK-CHAPTER

Fuzzing JavaScript Engine APIs

Renáta HodovánÁkos Kiss

Lecture notes in computer science Year: 2016 Pages: 425-438
JOURNAL ARTICLE

Fuzzing vs SBST

Giovani GuizzoSebastiano Panichella

Journal:   ACM SIGSOFT Software Engineering Notes Year: 2023 Vol: 48 (1)Pages: 105-107
BOOK-CHAPTER

Fuzzing JavaScript Environment APIs with Interdependent Function Calls

Renáta HodovánDániel VinceÁkos Kiss

Lecture notes in computer science Year: 2019 Pages: 212-226
JOURNAL ARTICLE

Fuzzing vs SBST : intersections & differences

Guizzo, GiovaniPanichella, Sebastiano

Journal:   ZHAW Digital Collection Year: 2023
JOURNAL ARTICLE

Advanced White-Box Heuristics for Search-Based Fuzzing of REST APIs

Andrea ArcuriMan ZhangJuan Pablo Galeotti

Journal:   ACM Transactions on Software Engineering and Methodology Year: 2024 Vol: 33 (6)Pages: 1-36
© 2026 ScienceGate Book Chapters — All rights reserved.