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}
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.