Large Language Model Driven Automated Network Protocol Testing
Traditional network protocol testing methods face significant challenges in adapting to rapid protocol evolution. The challenges stem primarily from protocol specification analysis and customized code development for testing. To address this, we propose NeTestLLM, a Large Language Model (LLM)-powered framework that automates protocol testing through two key components: (1) a hybrid test case generator that extracts protocol specifications and produces high-coverage test cases, and (2) a retrieval-feedback-enhanced engine that translates natural language descriptions into executable code. Preliminary evaluations demonstrate that NeTestLLM achieves 94.1% coverage on protocol specification understanding. A case study with commercial network equipment validates the practical effectiveness of our approach. Our work presents the first LLM-powered framework for automated network protocol testing to keep pace with the rapid evolution of network protocols and standards.
Authors
- Zhenxin Li
- Yong Cui (ORCID: https://orcid.org/0000-0002-5171-739X)
- Zhen Li (ORCID: https://orcid.org/0000-0003-0928-6837)
- Yunze Wei (ORCID: https://orcid.org/0009-0004-0618-512X)
- Xiaohui Xie (ORCID: https://orcid.org/0000-0001-9413-4461)
- K.N. Chi
- Shaohui Du
- Yuwei Han
- Ziyu Geng
Institutions
- Advanced Technology & Materials (China) (CN)
- Tsinghua University (CN)
Publication Details
- Published
- 2025-07-14
- DOI
- https://doi.org/10.1145/3744200.3744763
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00