一句话:提出 RESTInfer,从自然语言 RESTful API 描述中自动推断参数约束,以帮助自动化测试生成可行参数。
RESTful API 广泛用于云服务,其质量保证至关重要。已有自动测试技术通过分析测试用例导致的崩溃来发现潜在缺陷,但自动工具在复杂约束下随机生成可行参数十分困难。该论文提出 RESTInfer,利用 RESTful API 的自然语言描述自动推断参数约束;将推断出的约束提供给自动化测试工具后,可望提高测试用例参数生成的可行性与测试效率。摘要未报告具体实现细节与实验评估结果。
RESTful APIs have been applied to provide cloud services by various notable companies. The quality assurance of RESTful API is critical. Several automatic RESTful API testing techniques have been proposed to tame this issue. By analyzing crashes caused by each test case, developers can find potential bugs in cloud services. However, it is difficult for automated tools to generate feasible parameters under complicating constraints randomly. Fortunately, RESTful API descriptions can be used to infer possible parameter constraints. Given parameter constraints, automated tools can further improve the efficiency of testing.
DOI 原文 ·
@inproceedings{paperbot7009,
title = {RESTInfer: automated inferring parameter constraints from natural language RESTful API descriptions},
author = {Yi Liu},
booktitle = {FSE},
year = {2022},
doi = {10.1145/3540250.3559078}
}