Breaking Single-Tester Limits: Multi-Agent LLMs for Multi-User Feature Testing

Sidong Feng, Changhao Du, Huaxiao Liu, Qingnan Wang, Zhengwei Lv, Mengfei Wang, Chunyang ChenarXiv 2025 · DOI

Abstract

Automated testing of mobile applications has traditionally focused on single-user scenarios. However, modern social features require complex, synchronized interactions across multiple devices. We present MAdroid, a multi-agent framework that leverages Large Language Models (LLMs) to automate multi-user feature testing. MAdroid employs a specialized architecture consisting of Coordinator, Operator, and Observer agents to plan, execute, and monitor collaborative tasks. Our evaluation on a diverse set of 41 interactive tasks demonstrates that MAdroid achieves an 82.9% success rate and effectively identifies real-world bugs in production-level social applications.

The Challenge of Multi-User Testing

Most automated mobile app testing tools are "lonely," focusing on UI coverage or single-user flows on a single device. However, modern apps are deeply social. Features like video conferencing, collaborative document editing, and interactive gaming require multiple users to interact in a precise, synchronized sequence. For instance, User A must create a private group and share a password before User B can join, as illustrated in the complex flow of a group voice call.

Multi-user interaction flow for a group voice call

Testing these features manually is tedious and expensive, while automation is hindered by the need to manage "timely, dynamic, and collaborative" interactions. An error on one device can break the entire test flow, and existing tools lack the global context needed to coordinate multiple "users" simultaneously.

Methods: The MAdroid Framework

MAdroid mimics a human testing team by splitting responsibilities among three types of LLM-powered agents:

  1. The Coordinator (The Planner): This agent receives a high-level natural language task (e.g., "A invites B to watch together"). It determines the required number of users, segments the task into discrete sub-tasks, and establishes the necessary execution order.
  2. The Operator (The Hands): One Operator is deployed per device. It executes assigned sub-tasks by interacting with the GUI. To optimize LLM processing, MAdroid converts complex Android XML view hierarchies into simplified, semantically dense representations, removing non-essential visual details like text color or shadows.
  3. The Observer (The Critic): To mitigate LLM hallucinations or logic loops, the Observer maintains a "bird's-eye view" of the multi-device interaction history. It reviews actions every two steps, detecting errors and triggering rollbacks to the last correct state with corrective guidance for the Operators.
Overview of the MAdroid multi-agent framework

Datasets and Evaluation

To evaluate MAdroid, the authors developed two new datasets:

  • Evaluation Set: 41 multi-user interactive tasks from 16 popular apps (e.g., TikTok, WeChat, Discord), including ground-truth GUI traces for comparison.
  • Regression Set: 37 tasks across three versions of 18 open-source social apps (from F-Droid and GitHub) to test MAdroid's ability to detect real-world regressions and bugs.

Key Insights

  • Role Specialization: Separating planning (Coordinator) from execution (Operator) significantly reduces confusion and hallucinations compared to a single-agent approach managing multiple devices.
  • Global Context is Essential: The Observer agent resolves ambiguities that a single-device tester cannot see by analyzing the combined history of all devices.
  • UI Simplification: Pruning XML hierarchies to include only interactive elements (resource IDs, classes, text) is critical for fitting within LLM context windows and improving performance.

Results

MAdroid demonstrated superior performance, achieving an 82.9% success rate, outperforming state-of-the-art single-agent baselines like Mobile-agent (68.3%) and AutoDroid (63.4%). It reached a 96.8% action similarity score compared to human ground truth. Most importantly, MAdroid identified 11 multi-user interactive bugs in real-world apps, seven of which have already been confirmed or fixed by developers. Ablation studies showed that removing the Observer dropped the success rate by nearly 20%, proving that self-correction is a vital component of multi-agent systems.

Limitations and Future Work

Current LLM inference speeds can be a bottleneck for real-time interactive features like live stream chats. Additionally, MAdroid currently struggles with cross-app tasks, such as sharing links via third-party messengers. Future research will explore fine-tuning smaller, local open-source LLMs to reduce costs and latency while maintaining the robust multi-agent logic established by MAdroid.

Summary updated

BibTeX
@misc{feng2025breaking,
  author = {Sidong Feng and Changhao Du and Huaxiao Liu and Qingnan Wang and Zhengwei Lv and Mengfei Wang and Chunyang Chen},
  title = {{Breaking Single-Tester Limits: Multi-Agent LLMs for Multi-User Feature Testing}},
  year = {2025},
  eprint = {2506.17539},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.17539},
}
Figure