Generating API Test Data Using Deep Reinforcement Learning

Steyn Huurman,Xiaoying Bai,Thomas Hirtz
DOI: https://doi.org/10.1145/3387940.3392214
2020-01-01
Abstract:ABSTRACTTesting is critical to ensure the quality of widely-used web APIs. Automatic test data generation can help to reduce cost and improve overall effectiveness. This is commonly accomplished by using the powerful concept of search-based software testing (SBST). However, with web APIs growing larger and larger, SBST techniques face scalability challenges. This paper introduces a novel SBST based approach for generating API test data using deep reinforcement learning (DRL) as the search algorithm. By exploring the benefits of DRL in the context of scalable API test data generation, we show its potential as alternative to traditional search algorithms.
What problem does this paper attempt to address?