跳到主要导航 跳到搜索 跳到主要内容

JavaScript SBST Heuristics to Enable Effective Fuzzing of NodeJS Web APIs

  • Kristiania University College

科研成果: 期刊稿件文章同行评审

摘要

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.

源语言英语
文章编号139
期刊ACM Transactions on Software Engineering and Methodology
32
6
DOI
出版状态已出版 - 28 9月 2023
已对外发布

指纹

探究 'JavaScript SBST Heuristics to Enable Effective Fuzzing of NodeJS Web APIs' 的科研主题。它们共同构成独一无二的指纹。

引用此