节点文献

Web应用系统通用性能测试系统的设计与实现

Design and Implementation of the Web Application Performance Test System

【作者】 王勇

【导师】 夏小玲;

【作者基本信息】 东华大学 , 计算机应用, 2006, 硕士

【摘要】 随着各种计算机应用新技术的出现,如微软公司的.Net技术,Java语言的struts技术等,基于B/S结构的Web应用开发变的越来越容易,而Web应用本身则变得越来越庞大和复杂。针对这些Web应用的测试越来越困难,工作量变的越来越大。为了保证Web应用的稳定性和可靠性,必须做到强度较大,覆盖面较全的性能测试。 目前在开发基于WEB的应用的过程中,为了保证将要发布的WEB应用系统具有良好的性能,一般都要做WEB应用系统的性能测试,也就是应用在服务器端的性能测试。常见的测试手段有使用性能测试工具,自行开发性能测试程序进行测试,或者将两者结合的方法。通常的性能测试工具如Load Runner, Win Runner虽然功能强大,但是使用起来比较复杂,且软件价格不是一般用户所能接受的。使用自行开发的程序进行测试,容易遇到开发难度大,可复用性差等等不利因素。 本文正是在上述背景下,对这一具有应用前景的课题——WEB应用系统通用性能测试系统的设计与实现——开展了研究。

【Abstract】 With all kinds of new computer application technology occurring, such as MS .NET, struts technology etc, the developing of the B/S based WEB application becomes easier, but the WEB Application System itself becomes huger and complex. The performance test to these WEB applications turns more difficult, the test work need a lot of time and energy. It is need a high strength and full covering performance test to ensure the stability and reliability of the WEB application system.Now, in the developing of the WEB based application, it is always need the performance test for the WEB application system to ensure the high performance of the system. There are frequent test methods such as using performance test tools, using self-developing program, or the combination the tow methods. The test tools such as Load Runner, Win Runner have powerful functions, but it is complex to use and also have a high price. It is always difficult to developing customized program to execute performance test, and itis hard to reuse self-developing performance test program.Under the above-mentioned backgrounds, this thesis proposed a research on the Design and Implementation of the WEB Application Performance Test System.There are four following pieces of innovation in the research of this thesis:First of all, I analyze the data exchange use HTTP protocol and abstract the business data processing in the client and server side application. I give the definition of the Web Test Data, Web Test Path, and Web Test Scenario etc. It gives the uniform express term for the further research.Secondly, I use UML to modeling the whole Architecture of the WEB application performance test system. The performance test system is composed of Test Control Center and Test Terminal. Test Control Center synchronizes the execution of Test Terminals, and gives the global test result analysis. It can use Test Terminal to create test scenarios and deploy these scenarios to others if there is other Test Terminals. Test Terminal can run independently or under control of the Test Control Center. In addition, it can use Test Terminal to browse the test result and analysis data on the local machine.I use OOD and OOP method to design and implement the performance test system. It brings a good reusability in some degree. At the same time, it enhances the extendable and flexible of the system.Thirdly, the Test Terminal use BHO technology to embed into Internet Explorer. Test Terminal use IE itself to collect and create test data. All of the test data store in XML file, so we can get well-defined test data. It is useful for system expanding and update.At last, I use SVG (Scalable Vector Graphic) to show the test result analysis report. SVG use XML data to store the painting instructions, and it can be zoom in or zoom out without quality loss. It is very convenient to browse and analyze the mass test result statistic data.This thesis first analyzed the architecture of the common WEB application and the HTTP protocol, and concluded the component of the test data, then analyzed the data exchange between server side application and client side application, gave the definition of test data, test path, test scenario etc. Next the thesis used UML to modeling the performance test system architecture, and used OOD and OOP to implement the system, and used a foreign Electronic Disclosure System as a sample to apply a simple test and performance data analyze. Finally, the thesis gave out an analysis for the performance system, together with an improving plan.

【关键词】 性能测试性能分析WEB应用B/SHTTP协议SVG
【Key words】 performance testperformance analysisweb applicationB/SHTTP protocolSVG
  • 【网络出版投稿人】 东华大学
  • 【网络出版年期】2006年 07期
  • 【分类号】TP393.092
  • 【被引频次】8
  • 【下载频次】169
节点文献中: 

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

本文的引文网络