节点文献

基于通信协议的接口测试用例自动生成框架

Automated Test Case Generation Framework Based on Interface Communication Protocol

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 刘逻郭立红陈媛王俊杰

【Author】 LIU Luo;GUO Li-hong;CHEN Yuan;WANG Jun-jie;Changchun Institute of Optics,Fine Mechanics and physics,Chinese Academy of Sciences;

【通讯作者】 郭立红;

【机构】 中国科学院长春光学精密机械与物理研究所

【摘要】 为了实现对软件配置项和软件系统的接口测试的测试用例自动生成,建立了基于通信协议的接口测试用例自动生成框架,对该生成框架的输入模型和算法集合进行研究。提出了基于通信协议的接口测试用例生成框架的输入模型,并在输入模型中建立数据帧之间的一级关联矩阵和数据帧内字段间的二级关联矩阵。以输入模型为基础,说明发送端和接收端的接口测试用例自动生成算法。结合实际项目中的通信协议,介绍了如何将通信协议信息转换至输入模型,如何通过算法集合自动生成测试用例集。实验结果表明:基于通信协议的接口测试用例自动生成框架生成的接口测试用例可以替代人工生成的接口测试用例,极大地提高了软件接口测试工作的效率。

【Abstract】 In order to realize automatic test case generation for the interface testing of software configuration item and software system,an automatic test case generation framework based on interface communication protocol is established,and the input model and algorithm set of the generation framework are investigated. The input model of the interface test generation framework based on communication protocol was proposed,and the first-level correlation matrix between data frames and the second-level correlation matrix between fields in the data frame were constructed. An automatic generation algorithm of interface test cases containing sender and receiver was described based on the input model. Combined with the communication protocol of actual project,how to convert communication protocol information to the input model and how to automatically generate the test case set through the algorithm were introduced. The experimental results indicate the interface test cases generated by the proposed automatic test case generation framework based on interface communication protocol can replace the artificially generated interface test cases,which greatly improves the efficiency of software interface testing.

【基金】 中国科学院仪器设备功能开发技术创新项目(Y9A034S)
  • 【文献出处】 测控技术 ,Measurement & Control Technology , 编辑部邮箱 ,2020年01期
  • 【分类号】TP311.53
  • 【被引频次】3
  • 【下载频次】181
节点文献中: 

本文链接的文献网络图示:

本文的引文网络