节点文献

联通广告系统的性能测试

The Performance Test of Unicom’s Advert System

【作者】 张霞

【导师】 郭文明;

【作者基本信息】 北京邮电大学 , 软件工程, 2012, 硕士

【摘要】 随着web应用技术的发展和迅速普及,软件系统的性能和服务质量显得越来越重要。对某些企业和用户来说,性能甚至比许多功能都更为重要,对于联通广告系统而言,性能也是系统特别关注的,关系到是否能向所有用户开展正常的广告业务。因此联通要求在该广告系统上线前进行性能测试,本论文围绕完成联通广告系统的性能测试任务来展开。论文首先介绍了对Jmeter和LoadRunner这两种自动化测试工具的研究、经验,及性能目标的估算评价原则;继而分析了联通广告系统及其性能需求,确定了性能测试目标为关注四种功能(客户端广告请求、资源下载、页面广告请求、点击)的性能表现(每秒响应业务数支持、对请求的响应时间);最后描述了性能测试的具体实施:由于作者所在公司一直采用Jmeter作为各种项目的性能测试工具,具有一定的技术积累,因此测试一开始选用Jmeter,成功发现软件第一版本性能问题;在开发人员对第一版本进行修改并发布第二版本后,Jmeter对第二版本软件进行性能测试时遇到Socket连接数达到最大无法施加更大压力问题(被测软件性能相当好以至于Jmeter加压到极限),于是第二版本改用这个问题解决得较好的LoadRunner进行更大压力的测试,成功地完成了任务,为联通广告系统的上线运行提供了保证。在描述性能测试实施的第四章和第五章中具体给出了测试环境、数据准备、测试计划代码编写、测试并监控等。其中4.7中的Socket连接数不能及时关闭问题为读者和作者提供了继续研究的课题,而5.3.5测试过程中遇到并解决的问题或许对读者能带来一些启迪和帮助。本文实践了性能测试的整个过程:首先在对“性能需求”分析的基础上进行“性能测试目标确定”,然后“制定性能测试计划”、“搭建性能测试环境”、“开发测试代码”、“创建测试场景”、“运行和监视测试”,最后“分析测试结果”。

【Abstract】 With the development of Web technology and the rapid use of it in every corner of our life, the performance and service quality of the software is becoming more and more important. The performance of software is more important than functions of it to some enterprises and some users. To Unicorn’s Advert System, Performance is also the focus, which relates to the successful advertisement service provided to all the customers. So Unicom requires that we must complete the performance test to this software before it is run formally. This paper is developed around the performance test of Unicorn’s Advert System.First, the paper studys two automatic test tools Jmeter and LoadRunner, giving the experiences of how to use them, listing the assessment standard of performance. Second, the paper analyzes the Unicorn’s Advert System and its performance requirments, defining that Transactions per Second and Response Time will be tested to the four items as Advert Requirement from Unicorn’s Client, Resource Download, Advert Requirement from Page, Clicking Advert. Last, the paper describes the details of the test implement:Jmeter is chosen as the tool to test at first, as there are many accumulated skills of using it in the company writer belongs to. We successfully find the performance bug of the first version to this software; we meet Socket problem and can’t increase the pressure to the software when we use Jmeter to test the second version of the software, which is released by developers after modifying the performance bug of the first version and has better performance, then we change the tool from Jmeter to LoadRunner to commit the test of the second version. We successfully finish the test task and quaranttee the online running of the Unicorn’s Advert System. The paper gives the details of test environment, scripts, etc.The paper practises the whole process of performance test:the requirement analyzing to the performance, defining the task, doing the test plan, building the test environment, developing the scripts, creating the scenarios, testing and monitoring while testing, analyzing the test results.

  • 【分类号】TP311.53
  • 【被引频次】2
  • 【下载频次】172
节点文献中: 

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

本文的引文网络