Automated Network Protocol Testing with LLM Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Network protocol testing is fundamental for modern network infrastructure. However, traditional network protocol testing methods are labor-intensive and error-prone, requiring manual interpretation of specifications, test case design, and translation into executable artifacts, typically demanding one person-day of effort per test case. Existing model-based approaches provide partial automation but still involve substantial manual modeling and expert intervention, leading to high costs and limited adaptability to diverse and evolving protocols. In this paper, we propose a first-of-its-kind system called NeTestLLM that takes advantage of multi-agent Large Language Models (LLMs) for end-to-end automated network protocol testing. NeTestLLM employs hierarchical protocol understanding to capture complex specifications, iterative test case generation to improve coverage, a task-specific workflow for executable artifact generation, and runtime feedback analysis for debugging and refinement. NeTestLLM has been deployed in a production environment for several months, receiving positive feedback from domain experts. In experiments, NeTestLLM generated 4,632 test cases for OSPF, RIP, and BGP, covering 41 historical FRRouting bugs compared to 11 by current national standards. The process of generating executable artifacts also improves testing efficiency by a factor of 8.65x compared to manual methods. NeTestLLM provides the first practical LLM-powered solution for automated end-to-end testing of heterogeneous network protocols.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 47 references that are in the map. First posted on arXiv 15 Oct 2025.
Builds on
19 of 47 references.
Closest ancestors · 3
Same direction, newest first
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 16
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2024A Survey on LLM-as-a-Judgecited by 1,423
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 467
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 96
- 2025Learning to Plan & Reason for Evaluation with Thinking-LLM-as-a-Judgecited by 78
- 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 38
- 2023What do LLMs need to Synthesize Correct Router Configurations?cited by 29
- 2023Private-Library-Oriented Code Generation with Large Language Modelscited by 10
4 more
- 2024Compositional API Recommendation for Library-Oriented Code Generationcited by 10
- 2020Semi-Automated Protocol Disambiguation and Code Generationcited by 9
- 2022Automated Attack Synthesis by Extracting Finite State Machines from Protocol Specification Documentscited by 8
- 2025CCRS: A Zero-Shot LLM-as-a-Judge Framework for Comprehensive RAG Evaluationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025iPanda: An LLM-based Agent for Automated Conformance Testing of Communication Protocols
- 2025Extremal Testing for Network Software using LLMs ↗
- 2026NetConfArena: An Executable Benchmark for LLM Agents in Closed-Loop Network Configuration
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocols
- 2026RFCLLM: Evaluating LLMs' Reasoning Ability of Network Protocol State Machines
- 2026Automated structural testing of LLM-based agents: methods, framework, and case studies
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?