mlsanityData to 14 Oct 2026

iPanda: An LLM-based Agent for Automated Conformance Testing of Communication Protocols

arXiv 2507.00378 ↗First posted 1 Jul 2025cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Conformance testing is essential for ensuring that protocol implementations comply with their specifications. However, traditional testing approaches involve manually creating numerous test cases and scripts, making the process labor-intensive and inefficient. Recently, Large Language Models (LLMs) have demonstrated impressive text comprehension and code generation abilities, providing promising opportunities for automation. In this paper, we propose iPanda, the first framework that leverages LLMs to automate protocol conformance testing. Given a protocol specification document and its implementation, iPanda first employs a keyword-based method to automatically generate comprehensive test cases. Then, it utilizes retrieval-augmented generation and customized CoT strategy to effectively interpret the implementation and produce executable test programs. To further enhance programs' quality, iPanda incorporates an iterative optimization mechanism to refine generated test scripts interactively. Finally, by executing and analyzing the generated tests, iPanda systematically verifies compliance between implementations and protocol specifications. Comprehensive experiments on various protocols show that iPanda significantly outperforms pure LLM-based approaches, improving the success rate (Pass@1) of test-program generation by factors ranging from 4.675 times to 10.751 times.

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 18 of its 38 references that are in the map. First posted on arXiv 1 Jul 2025.

Builds on

18 of 38 references.

References · 18

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2024GPT-4o System Cardcited by 4,588
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  5. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  6. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  8. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  9. 2023AutoDroid: LLM-powered Task Automation in Androidcited by 184
  10. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
  11. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 68
  12. 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
6 more
  1. 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
  2. 2024AutoDroid-V2: Boosting SLM-based GUI Agents via Code Generationcited by 34
  3. 2017FairFuzz: Targeting Rare Branches to Rapidly Increase Greybox Fuzz Testing Coveragecited by 20
  4. 2023LLM As DBAcited by 18
  5. 2025AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applicationscited by 17
  6. 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocolscited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Automated Network Protocol Testing with LLM Agents
  2. 2024The Potential of LLMs in Automating Software Testing: From Generation to Reporting
  3. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomy
  4. 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocol
  5. 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancement
  6. 2023Towards Autonomous Testing Agents via Conversational Large Language Models
  7. 2026Bidirectional Empowerment of Metamorphic Testing and Large Language Models: A Systematic Survey
  8. 2026Consistency Meets Verification: Enhancing Test Generation Quality in Large Language Models Without Ground-Truth Solutions