基于场景和数据驱动的多udp接口设备软件自动化测试

Jinkun Zhang, Hongqing Yang, Zhe Sun, Chi Hu, Chunlei Li
{"title":"基于场景和数据驱动的多udp接口设备软件自动化测试","authors":"Jinkun Zhang, Hongqing Yang, Zhe Sun, Chi Hu, Chunlei Li","doi":"10.1109/IMCEC51613.2021.9482099","DOIUrl":null,"url":null,"abstract":"The equipment software exchanges information with external systems through UDP interface, with complex operating process, close business relation and strict timing constraint. In the existing testing methods, manual testing is incompetent, physical testing is difficult to inject fault data, the cost and cycle of developing special testing tools are very high. Therefore, this paper proposes an automated testing method of multi-UDP interface equipment software based on scenario and data driven. Firstly, the equipment software is divided into main business module and secondary business module, and two scenarios are defined: system scenario and business scenario. The test case suite is obtained by traversing the scenarios. Secondly, according to the transmission characteristics of UDP data, the five-layer exchange data configuration rules are formulated to describe the exchange data between the equipment software and external systems, and test data configuration files are formed. Thirdly, the principle of data driven automated test execution is interpreted, and a UDP interface test tool is developed, which supports parsing test data configuration files, listening to the output of multiple UDP interfaces, and automatically injecting data incentives to drive the automated execution of the equipment software business processes. Finally, applied in a monitoring equipment software, the results show that, compared with manual testing and physical testing, the proposed method is more suitable for multi-UDP interface equipment software with complex operating process, close business relation and strict timing constraint. It can quickly establish a testing environment, automatically inject data incentives, reduce test cost, improve test efficiency, and facilitate regression testing.","PeriodicalId":240400,"journal":{"name":"2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC)","volume":"73 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Automated Testing of Multi-UDP Interface Equipment Software based on Scenario and Data Driven\",\"authors\":\"Jinkun Zhang, Hongqing Yang, Zhe Sun, Chi Hu, Chunlei Li\",\"doi\":\"10.1109/IMCEC51613.2021.9482099\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The equipment software exchanges information with external systems through UDP interface, with complex operating process, close business relation and strict timing constraint. In the existing testing methods, manual testing is incompetent, physical testing is difficult to inject fault data, the cost and cycle of developing special testing tools are very high. Therefore, this paper proposes an automated testing method of multi-UDP interface equipment software based on scenario and data driven. Firstly, the equipment software is divided into main business module and secondary business module, and two scenarios are defined: system scenario and business scenario. The test case suite is obtained by traversing the scenarios. Secondly, according to the transmission characteristics of UDP data, the five-layer exchange data configuration rules are formulated to describe the exchange data between the equipment software and external systems, and test data configuration files are formed. Thirdly, the principle of data driven automated test execution is interpreted, and a UDP interface test tool is developed, which supports parsing test data configuration files, listening to the output of multiple UDP interfaces, and automatically injecting data incentives to drive the automated execution of the equipment software business processes. Finally, applied in a monitoring equipment software, the results show that, compared with manual testing and physical testing, the proposed method is more suitable for multi-UDP interface equipment software with complex operating process, close business relation and strict timing constraint. It can quickly establish a testing environment, automatically inject data incentives, reduce test cost, improve test efficiency, and facilitate regression testing.\",\"PeriodicalId\":240400,\"journal\":{\"name\":\"2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC)\",\"volume\":\"73 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-06-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IMCEC51613.2021.9482099\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMCEC51613.2021.9482099","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

设备软件通过UDP接口与外部系统进行信息交换,操作过程复杂,业务关系密切,时间约束严格。在现有的测试方法中,人工测试能力不足,物理测试难以注入故障数据,开发专用测试工具的成本和周期很高。为此,本文提出了一种基于场景和数据驱动的多udp接口设备软件自动化测试方法。首先,将设备软件划分为主要业务模块和次要业务模块,并定义了系统场景和业务场景两种场景。测试用例套件是通过遍历场景获得的。其次,根据UDP数据的传输特点,制定五层交换数据配置规则,描述设备软件与外部系统之间的交换数据,形成测试数据配置文件。再次,阐释了数据驱动自动化测试执行的原理,开发了UDP接口测试工具,该工具支持解析测试数据配置文件、监听多个UDP接口的输出、自动注入数据激励等功能,驱动设备软件业务流程的自动化执行。最后,将该方法应用于某监控设备软件中,结果表明,与人工测试和物理测试相比,该方法更适合于操作流程复杂、业务关系密切、时序约束严格的多udp接口设备软件。它可以快速建立测试环境,自动注入数据激励,降低测试成本,提高测试效率,便于回归测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Automated Testing of Multi-UDP Interface Equipment Software based on Scenario and Data Driven
The equipment software exchanges information with external systems through UDP interface, with complex operating process, close business relation and strict timing constraint. In the existing testing methods, manual testing is incompetent, physical testing is difficult to inject fault data, the cost and cycle of developing special testing tools are very high. Therefore, this paper proposes an automated testing method of multi-UDP interface equipment software based on scenario and data driven. Firstly, the equipment software is divided into main business module and secondary business module, and two scenarios are defined: system scenario and business scenario. The test case suite is obtained by traversing the scenarios. Secondly, according to the transmission characteristics of UDP data, the five-layer exchange data configuration rules are formulated to describe the exchange data between the equipment software and external systems, and test data configuration files are formed. Thirdly, the principle of data driven automated test execution is interpreted, and a UDP interface test tool is developed, which supports parsing test data configuration files, listening to the output of multiple UDP interfaces, and automatically injecting data incentives to drive the automated execution of the equipment software business processes. Finally, applied in a monitoring equipment software, the results show that, compared with manual testing and physical testing, the proposed method is more suitable for multi-UDP interface equipment software with complex operating process, close business relation and strict timing constraint. It can quickly establish a testing environment, automatically inject data incentives, reduce test cost, improve test efficiency, and facilitate regression testing.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信