摘要
主流背景流量生成方法有导入互联网实际流量法以及利用网络测试仪器生成法等,但是这些方法均较少关注流量的时空分布与业务流量细节分布,无法实现流量的深度模拟。为此,提出一个针对Web业务系统的基于LoadRunner的业务背景流量生成系统。该系统采用可扩展脚本机制、基于容器的分布式流量生成器阵列部署方式、地址修改机制、ON/OFF模型流量时间分布控制、检查与反馈机制等方法,实现了大规模逼真背景流量的生成,同时,还实现了内容异构、按需扩展、时空概率分布控制与自适应调节等特性。对以论坛网站为被测业务系统的实例进行验证,结果表明,实例测试生成的流量基本满足背景流量的时空特性,并在其他特征上符合预定设置,验证了系统设计的可行性。
The mainstream methods for background traffic generation include the introduction of actual Internet traffic and the traffic generation using network test equipment,but these methods are less concerned with the temporal and spatial distribution of traffic and the detailed distribution of business traffic,so they fail to implement in-depth simulation of traffic.To this end,this paper proposes a business background traffic generation system based on LoadRunner for Web business systems.The system adopts methods such as scalable scripting mechanism,container-based distributed traffic generator array deployment method,address modification mechanism,spatial distribution control,inspection and feedback mechanism of ON/OFF model traffic,so as to implement the generation of large-scale realistic background traffic.At the same time,the proposed system realizes content heterogeneity,on-demand expansion,temporal and spatial probability distribution control and adaptive adjustment and other features.Verification tests are carried out by taking a forum website as a to-be-tested example business system,and the results show that the traffic generated by the example tests basically meets the temporal and spatial characteristics of the background traffic,and accords with the pre-settings in other characteristics,which demonstrates the feasibility of the system design.
作者
赵瑜
吴承荣
严明
ZHAO Yu;WU Chengrong;YAN Ming(School of Computer Science,Fudan University,Shanghai 200433,China)
出处
《计算机工程》
CAS
CSCD
北大核心
2020年第10期231-239,247,共10页
Computer Engineering
基金
国家重点研发计划“试验场”项目(2017YFB0803203)。