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

Evolutionary-based automated testing for GraphQL APIs

  • Kristiania University College

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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.

源语言英语
主期刊名GECCO 2022 Companion - Proceedings of the 2022 Genetic and Evolutionary Computation Conference
出版商Association for Computing Machinery, Inc
778-781
页数4
ISBN(电子版)9781450392686
DOI
出版状态已出版 - 9 7月 2022
已对外发布
活动2022 Genetic and Evolutionary Computation Conference, GECCO 2022 - Virtual, Online, 美国
期限: 9 7月 202213 7月 2022

出版系列

姓名GECCO 2022 Companion - Proceedings of the 2022 Genetic and Evolutionary Computation Conference

会议

会议2022 Genetic and Evolutionary Computation Conference, GECCO 2022
国家/地区美国
Virtual, Online
时期9/07/2213/07/22

指纹

探究 'Evolutionary-based automated testing for GraphQL APIs' 的科研主题。它们共同构成独一无二的指纹。

引用此