面向用户的智能体:测试TikTok中的多用户交互功能
Agent for User: Testing Multi-User Interactive Features in TikTok
AI总结:
针对TikTok多用户交互功能测试难题,提出基于大语言模型的多智能体方法,构建虚拟设备农场模拟用户交互,覆盖75%任务,节省87%时间,并检测出26个缺陷。
摘要:
TikTok是一款广泛使用的社交媒体应用,拥有超过十亿的月活跃用户,其复杂功能需要有效的应用质量保证。功能测试对于实现这一目标至关重要。然而,应用内的多用户交互功能,如直播、语音通话等,给开发者带来了巨大挑战,他们必须处理同步设备管理和用户交互协调。为解决这一问题,我们提出了一种新颖的多智能体方法,借助大型语言模型(LLMs),自动化测试多用户交互应用功能。具体而言,我们构建了一个虚拟设备农场,为给定的多用户交互任务分配所需数量的设备。对于每台设备,我们部署一个基于LLM的智能体来模拟用户,从而模拟用户交互以协作自动化测试过程。在TikTok应用内的24个多用户交互任务上的评估表明,该方法能够覆盖75%的任务,动作相似度达85.9%,并为开发者节省87%的时间。此外,我们还将该方法集成到了真实的TikTok测试平台中,协助检测出26个多用户交互缺陷。
英文摘要:
TikTok, a widely-used social media app boasting over a billion monthly active users, requires effective app quality assurance for its intricate features. Feature testing is crucial in achieving this goal. However, the multi-user interactive features within the app, such as live streaming, voice calls, etc., pose significant challenges for developers, who must handle simultaneous device management and user interaction coordination. To address this, we introduce a novel multi-agent approach, powered by the Large Language Models (LLMs), to automate the testing of multi-user interactive app features. In detail, we build a virtual device farm that allocates the necessary number of devices for a given multi-user interactive task. For each device, we deploy an LLM-based agent that simulates a user, thereby mimicking user interactions to collaboratively automate the testing process. The evaluations on 24 multi-user interactive tasks within the TikTok app, showcase its capability to cover 75% of tasks with 85.9% action similarity and offer 87% time savings for developers. Additionally, we have also integrated our approach into the real-world TikTok testing platform, aiding in the detection of 26 multi-user interactive bugs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。