计算机应用与软件2026,Vol.43Issue(3):1-9,9.DOI:10.3969/j.issn.1000-386x.2026.03.001
基于图表示的用户会话测试用例约减方法
USER-SESSION-BASED TEST SUITE REDUCTION METHOD BASED ON GRAPH REPRESENTATION
摘要
Abstract
User-session test is a common network application testing method,which can reproduce users'behaviors and network application defects by replaying a series of network requests.However,user sessions contain a large number of repeated or similar network requests,resulting in too many test cases,which reduced testing efficiency.Existing user-session-based test suite reduction has problems such as low test coverage after reduction.To address the above issues,a user-session-based test suite reduction method based on graph representation is proposed.This method used monitoring data to construct user behavior graphs to represent users'behaviors in user sessions,and aggregated similar user sessions through graph representation learning and clustering,thereby reducing the user-session-based test suite.Experiment on the actual application log data of enterprises shows that the method can achieve stable and superior test case reduction effect compared with the control group methods.关键词
软件测试/测试用例约减/用户会话/聚类/图表示学习Key words
Software testing/Test suite reduction/User session/Clustering/Graph representation learning分类
信息技术与安全科学引用本文复制引用
傅震卿,张晨曦,吴毅坚,赵文耘..基于图表示的用户会话测试用例约减方法[J].计算机应用与软件,2026,43(3):1-9,9.基金项目
国家自然科学基金项目(62172099). (62172099)