基于winpcap的网络性能测试系统的模拟环境分析——虚拟用户脚本产生器和压力调度系统的设计与实现-simulation environment analysis of network performance testing system based on winpcap - design and implementation of virtual user script generator and pressure dispatching system.docxVIP

  • 12
  • 0
  • 约5.34万字
  • 约 75页
  • 2018-05-18 发布于上海
  • 举报

基于winpcap的网络性能测试系统的模拟环境分析——虚拟用户脚本产生器和压力调度系统的设计与实现-simulation environment analysis of network performance testing system based on winpcap - design and implementation of virtual user script generator and pressure dispatching system.docx

基于winpcap的网络性能测试系统的模拟环境分析——虚拟用户脚本产生器和压力调度系统的设计与实现-simulation environment analysis of network performance testing system based on winpcap - design and implementation of virtual user script generator and pressure dispatching system

基于 Winpcap 的网络性能测试系统的模拟环境研究――虚拟用户脚本产生器和压力调度系统的设计与实现摘要顺应互联网时代的用户需求,平台型、系统型的软件应用规模变得越来越大,例如 一个刚起步的公司几十台电脑组成小型局域网,一个大中型企业两、三千台电脑组成大 中型局域网,大型集团企业上万台电脑组成超级局域网或城域网以及动辄带来成百万、 上千万用户的互联网。当前广泛存在的 SaaS(Software-as-a-Service——软件即服务,中文名为软营或软件 运营,是基于互联网提供软件服务的软件应用模式),云计算,虚拟化等软件模式的目 的直指数据和应用的集中处理,体现了软件工业对用户规模需求的技术响应。这类规模 型应用的软件,与单机型应用相对应,统称为 C/S 系统(客户机/服务器系统,其中包含 B/S 浏览器/服务器系统)。基于这类软件的特征,传统的以功能为主的测试方法,已不 能解决用户迫切关心的性能问题,急切需要能够考察网络应用能力的专业的网络性能测 试工具和方法。对网络性能测试而言,正确配置测试环境,离不开模拟用户的作用。由于单纯的以 电脑硬件来实现模拟用户的测试实验室已经无法满足模拟用户的规模性需求,其实验室 的场地和硬件数量不可能随着软件应用规模的膨胀而无限制地扩大,因此具备虚拟用户 功能的测试工具成为网络性能测试必不可少的条件。本论文的主要工作就是基于开源的网络抓包技术方案 Winpcap,设计和实现网络性 能测试的环境模拟,实现虚拟用户的功能。它能产生虚拟用户并通过适当的调度策略实 现模拟大量用户应用软件系统的场景。本论文完成的具体工作有:1.设计和实现虚拟用户脚本产生器(VuserGenerator),在一个复杂的网络环境中, 捕获感兴趣的模板客户机与目标服务器之间的网络交互数据,对捕获的网络数 据进行协议分析后,重组生成大量的虚拟用户脚本。2.设计和实现压力调度系统(Controller),对虚拟用户脚本产生器所产生的虚拟 用户脚本按照用户指定的策略发送给目标服务器,达到利用虚拟用户脚本增加 服务器的网络用户数,增大服务器的网络负载压力的目的。论文的最终结果是一个可执行的安装文件,目前此工具已被本公司测试部门使用,并且取得良好的效果。关键词:网络协议,虚拟用户,测试环境,压力调度Research of emulating environment for Network Performance Test Basing on Winpcap――Design and Implementation of Virtual User Scripts Generator and Pressure Scheduling SystemABSTRACTConforming to the user needs of contemporary Internet era, platform and system software becomes increasingly large in order to adapt to a variety of network application environment, such as small businesses to build dozens of computers LAN, large and medium-sized enterprises to create hundreds of thousands of computers LAN, large group to create tens of thousands of computers LAN or MAN, and over millions of users on the Internet.And, people nowadays will often encounter SaaS ( Software-as-a-Service ) ,cloud computing, virtualization, and other likely SW applications, all of which is aimed to handle data and applications centralized, that shows the technology response to user scaled requirements of the SW industry. This type of scaled application, comparing with the single PC application, is called C/S (Client/Server, including B/S Browser/Serve

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档