基于测试用例变异的RESTful APIs安全测试
Security Testing of RESTful APIs With Test Case Mutation
AI总结:
针对RESTful APIs安全测试人工执行耗时长、难度高的问题,提出基于测试用例变异的自动化方法,定义17种专用安全测试变异算子及对应算法,并在4个Web服务组合上验证了其有效性与性能。
摘要:
本文聚焦于RESTful APIs的自动化安全测试。这类特定组件的测试阶段通常由人工执行,且一直被视为一项耗时且困难的工作。本文提出一种自动化方法,可帮助开发者生成测试用例,以对每个服务进行独立测试。该方法基于测试用例变异的概念,能够从原始测试用例集自动生成新的测试用例。测试用例变异算子会对测试用例进行小幅修改,以模拟可能的故障,或是通过新的交互来测试被测组件。本文研究了适用于RESTful APIs的测试用例变异算子,并定义了17种专门用于安全测试的算子。随后,本文提出了对应的测试用例变异算法。我们在4个Web服务组合上评估了该算法的有效性与性能。
英文摘要:
The focus of this paper is on automating the security testing of RESTful APIs. The testing stage of this specific kind of components is often performed manually, and this is yet considered as a long and difficult activity. This paper proposes an automated approach to help developers generate test cases for experimenting with each service in isolation. This approach is based upon the notion of test case mutation, which automatically generates new test cases from an original test case set. Test case mutation operators perform slight test case modifications to mimic possible failures or to test the component under test with new interactions. In this paper, we examine test case mutation operators for RESTful APIs and define 17 operators specialised in security testing. Then, we present our test case mutation algorithm. We evaluate its effectiveness and performance on four web service compositions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。