Evolutionary-based automated testing for GraphQL APIs.

Annual Conference on Genetic and Evolutionary Computation (GECCO)(2022)

引用 5|浏览9
暂无评分
摘要
The Graph Query Language (GraphQL) is a powerful language for APIs manipulation in web services. It has been recently introduced as an alternative solution for addressing the limitations of RESTful APIs. This paper introduces an automated solution for GraphQL APIs testing. We present a full framework for automated APIs testing, from the schema extraction to test case generation. Our approach is based on evolutionary search. Test cases are evolved to intelligently explore the solution space while maximizing code coverage criteria. The proposed framework is implemented and integrated in the open-source EvoMaster tool. Experiments on two open-source GraphQL APIs show statistically significant improvement of the evolutionary approach compared to the baseline random search.
更多
查看译文
关键词
GraphQL, EvoMaster, Evolutionary Algorithms, Automated Testing, Search-Based Software Testing, Fuzzing.
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要