期刊文献+

支持用例集并行测试的接口测试平台 被引量:1

Interface Test Platform Supporting Parallel Testing of Test Case Sets
下载PDF
导出
摘要 针对手工测试成本高、时效性弱和传统的接口自动化测试工具扩展能力不足问题,提出了一个支持用例集并行测试的接口测试平台(OLa). OLa采用分层架构模式将系统分为用户展示层、应用逻辑层、数据服务层和用例执行层.其中,用户展示层基于Vue框架开发,结合Vue Router、Vuex等工具实现单页应用;应用逻辑层基于Spring Boot框架开发;数据服务层基于MyBatis-Plus框架和Spring Data框架开发;用例执行层使用okhttp3、fastjson、jackson等工具实现接口测试.此外,基于系统技术架构、Java网络编程和面向抽象编程的思想,创新性地提出了基于C/S模式的用例执行流程和基于参数识别的自动匹配校验方法,解决了传统的自动化测试工具无法支持并行测试的问题.实验结果表明本文设计与实现的OLa接口测试平台支持单用例测试、用例集的串行测试和并行测试,能够自动识别用例参数并对接口响应内容进行校验,提高了接口测试的灵活性和有效性,降低了测试难度,并能够在用例之间无相互依赖的情况下提高接口测试的效率. ion-oriented programming,this study innovatively proposes the test case execution process with the C/S architecture and the automatic matching verification method based on parameter identification,which can solve the problem that some traditional automatic testing tools cannot support parallel testing.The experimental results show that OLa can support test case testing,serial testing,and parallel testing of test case sets and can automatically identify test case parameters and verify the interface response content,which improves the flexibility and effectiveness of interface testing.Moreover,it can reduce the difficulty of interface testing and improve the efficiency of interface testing without interdependence between test cases.
作者 耿嘉祺 李鑫丽 祝小兰 GENG Jia-Qi;LI Xin-Li;ZHU Xiao-Lan(Department of Computer Technology and Applications,Qinghai University,Xining 810016,China)
出处 《计算机系统应用》 2023年第6期91-98,共8页 Computer Systems & Applications
基金 国家自然科学基金(61762074) 四川省科技厅重点研发项目(2020YFS0575) 青海大学教育教学研究项目(JY202127)。
关键词 单用例测试 用例集测试 串行测试 并行测试 接口测试平台 test case testing test case set testing serial testing parallel testing interface test platform
  • 相关文献

参考文献20

二级参考文献69

共引文献429

同被引文献17

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部