节点文献

基于客户端的网络服务性能测试模型研究与系统支持

Client-End Performance Testing of Web Services: The Modeling Part

【作者】 郐言

【导师】 毛晓光;

【作者基本信息】 国防科学技术大学 , 计算机科学与技术, 2004, 硕士

【摘要】 当前,网络服务提供商通过Web站点向各类用户提供了大量种类齐全、功能各异的网络服务;为保证广大用户得到完美的服务体验,同时也为了保障服务提供商的商业利益,这些网络服务必须具备很强的服务处理能力和很大的服务容量,能够支持大量用户的并发服务请求;要确定网络服务的性能是否达到了提供商的预期目标,必须运用基于客户端的网络服务性能自动测试工具对其进行全面有效的性能测试,准确地评价出服务性能的优劣,揭示并定位服务中可能存在的性能瓶颈,从而有针对性地进行性能优化,进而达到提高服务性能的目的。 在进行基于客户端的网络服务性能测试过程中,良好的测试模型是整个测试过程能否达到预期目标的前提和基础;测试模型对整个性能测试过程中起着方向性和指导性的作用,它是对整个测试体系的刻画,是对测试目标系统的描述,是对整个应测内容的编排,故测试模型的选用在很大程度上决定了测试过程的有效性;而良好的测试模型来源于正确的模型建立策略。 本文详细分析和研究了现阶段已有的基于客户端的各类性能测试模型所具有的优点和存在的不足,并从中提取好的测试建模思想加以利用;同时细致分析了当前在建立测试模型过程中所使用的相关建模技术。 本文在详尽分析了服务体系中三个组成部分(客户端、网络部分、服务端)对整个服务性能测试模型建立过程所构成的各种影响因素和模型建立过程中所面临的主要问题的基础上,根据各部分所具有的不同特性以及在体系中所起的作用和所占有的地位,将它们区别对待,对不同层次的问题使用不同的抽象方法,提出一种新的服务性能测试模型建立策略——层次化的测试模型建立策略,它是一种可变粒度的事务级建模策略;该策略将测试模型的建立分为两部分,一部分是建立用户访问服务模型,一部分是建立访问流量模型;用户访问服务模型模拟真实用户使用网络服务的方式,而访问流量模型则模拟真实的Web数据流量,使依据该模型所产生的Web负载流量符合真实Web数据流量的各种统计特性,使其具有骤变的、重尾的特性以及相互关联的到达模式;同时详细阐述了该建模策略包含的这两部分模型的具体建立步骤,充分体现了层次化建模的特点,即:层次明了,过程清晰;该建模策略在整体上具有良好的扩展性和灵活性。 依据层次化测试模型建立策略的核心思想,使用Java语言实现了一个性能自动测试工具原型系统的测试建模部分;该测试建模部分通过其与测试执行部分间的接口最终以XML文档的形式为测试执行部分提供完整而详细的目标系统的测试模型信息。

【Abstract】 Many different kind of Website Services are provided to network users by Service provider through the users accessing Website, the Website Services afford many different functions to the network users. For guaranteeing the network users getting perfect experience by using the Website Services and at the same time guaranteeing the Services provider getting good profit, these Website Services must have perfect high performance to supporting a lot of network users accessing them subsequently. If the Services providers want to determine if the performances of provided Website Services reach anticipating level and if these Website Services can give good service process to the network users, they must use Client-End automated performance test tool to full-scale testing performances of the Website Services, in order to accurate evaluating the level of performance for these Website Services. At the same time, the process of testing can determine if having bottlenecks of performance in these Website Services and locate where the bottlenecks in these Website Services. Services provider can improve the performance of these Services by solving the bottlenecks of performance in them.During the process of Client-End performance testing for these Website Services, precise model for testing is foundation and precondition of reaching the anticipated testing intention; Model for testing act as direction of the whole process of testing, so it is very important; It is architecture of the whole testing process, is description of target system of testing, is layout of the whole testing content; So choosing what kind of model for testing will make if the process of testing reaching test goal; The precise model for testing comes from right test modeling strategy.This paper analyses and researches on strongpoint and limitation of already existing test models, at the same time get excellent thought of modeling from them and utilize the thought; the paper also all-scale analyses current the techniques of test modeling.This paper particular analyses all kinds of factors impacting the whole modeling process of performance testing for these Services coming from three parts of Website Service architecture(Client-end,Network-part,Service-end) and main problems confronted during the modeling process of performance test; On foundation of the detailed analyse,also basing the three parts having different characteristics and function in the whole Service architecture, using different methods for abstracting for different parts, a new kind of modeling strategy for performance testing of Website Service-layered modeling strategy is proposed; this modeling strategy divides the model of testing into tow parts, one is user accessing Services model, the other is network traffic model; user accessing Services model is used simulates manner of real network users using Website Services, network traffic model simulates real Web traffic in network, enables all kinds of statistical characteristics generated using this model according with all kinds of statistical characteristics real Web traffic in network, makes the generated traffic has changing suddenly and heavy-tailed statistical characteristics.The paper detailed describes approaches of establishing the two parts model in the layered modeling strategy, it sufficient represents the excellent characteristics of this modeling strategy, the excellent characteristics of the modeling strategy are the very perspicuous layer and clearbuilded process, the whole of this modeling strategy has high level of flexibility and expansibility.According to the main thought of the layered modeling strategy, using Java programming language to implement a prototype system of a modeling part system for a new Client-End automated performance testing tool; The modeling part system gives all detailed information of performance testing model for testing target system to the performing part system of the Client-End automated performance testing tool by interface between the modeling part and the performing part, the all detailed information contained in performance testing model is saved in one XML document, is expressed as XML format.

  • 【分类号】TP393.06
  • 【被引频次】1
  • 【下载频次】175
节点文献中: 

本文链接的文献网络图示:

本文的引文网络