Paper
18 July 2023 Design and implementation of traffic recording playback test tool
Fangxu Guo, Wei Wei
Author Affiliations +
Proceedings Volume 12744, Second International Conference on Advanced Manufacturing Technology and Manufacturing Systems (ICAMTMS 2023); 127442B (2023) https://doi.org/10.1117/12.2688718
Event: Second International Conference on Advanced Manufacturing Technology and Manufacturing Systems (ICAMTMS 2023), 2023, Nanjing, China
Abstract
As software products become increasingly complex and product iteration speeds up, there is an urgent need for a more efficient testing method to ensure software quality. Traffic recording playback provides a new interface automation testing method. Based on the traffic recording and playback strategy, we propose a scheme which uses data capture to conduct traffic recording and utilizes firewall user agent (iptables) technology and socket technology to implement Mock. For result verification, we design a comparison result algorithm based on the Diff idea to make the playback verification result more accurate. Compared with some other solutions (GoReplay, Jvm-Sandbox-Repeater, ngx_http_mirror_module, etc.), this solution can support multiple protocols and regression testing without intruding into the application under test. After a large number of tests, the success rate has reached over 96%, the efficiency of interface regression test has increased by 66.7%, and the efficiency of overall test has increased by 40%.
© (2023) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Fangxu Guo and Wei Wei "Design and implementation of traffic recording playback test tool", Proc. SPIE 12744, Second International Conference on Advanced Manufacturing Technology and Manufacturing Systems (ICAMTMS 2023), 127442B (18 July 2023); https://doi.org/10.1117/12.2688718
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Design and modelling

Reliability

Software development

Testing and analysis

Internet technology

Logic

Back to Top