刘 逻,郭立红,陈 媛,王俊杰.基于通信协议的接口测试用例自动生成框架[J].测控技术,2020,39(1):46-54
基于通信协议的接口测试用例自动生成框架
Automated Test Case Generation Framework Based on Interface Communication Protocol
  
DOI:10.19708/j.ckjs.2020.01.009
中文关键词:  接口测试  自动生成框架  输入模型  关联矩阵  生成算法
英文关键词:interface testing  automatic generation framework  input model  correlation matrix  generation algorithm
基金项目:中国科学院仪器设备功能开发技术创新项目(Y9A034S)
作者单位
刘 逻 中国科学院长春光学精密机械与物理研究所 
郭立红 中国科学院长春光学精密机械与物理研究所 
陈 媛 中国科学院长春光学精密机械与物理研究所 
王俊杰 中国科学院长春光学精密机械与物理研究所 
摘要点击次数: 1226
全文下载次数: 380
中文摘要:
      为了实现对软件配置项和软件系统的接口测试的测试用例自动生成,建立了基于通信协议的接口测试用例自动生成框架,对该生成框架的输入模型和算法集合进行研究。提出了基于通信协议的接口测试用例生成框架的输入模型,并在输入模型中建立数据帧之间的一级关联矩阵和数据帧内字段间的二级关联矩阵。以输入模型为基础,说明发送端和接收端的接口测试用例自动生成算法。结合实际项目中的通信协议,介绍了如何将通信协议信息转换至输入模型,如何通过算法集合自动生成测试用例集。实验结果表明:基于通信协议的接口测试用例自动生成框架生成的接口测试用例可以替代人工生成的接口测试用例,极大地提高了软件接口测试工作的效率。
英文摘要:
      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.
查看全文  查看/发表评论  下载PDF阅读器
关闭