性能测试基于JMeter的MSWeb应用系统的性能测试研究

性能测试  时间:2021-03-12  阅读:()

基于JMeter的MSWeb应用系统的性能测试研究南京航空航天大学

硕士学位论文

基于JMeter的MSWeb应用系统的性能测试研究

姓名江新

申请学位级别硕士

专业计算机科学与技术

指导教师江国华

2011-03

南京航空航天大学硕士学位论文

摘 要

性能是衡量一个Web 应用程序好坏的重要方面它直接反映Web提供服务的质量水平。

如何保证一个Web应用程序投入使用之前的安全性、可靠性以及执行效率越来越成为人们关注

的重点。 由于Web应用自身的特点和特殊性使得对其进行性能测试时必须依靠工具进行。

本文对Web应用性能测试的原理、分类以及常用的性能测试工具和方法进行了较为深入的

研究和分析。在此基础上针对企业内部信息安全监控系统―MS系统一种Web应用系统

进行了性能测试。在测试过程中提出了将OMT模型引入MS系统的性能测试中对MS系

统进行建模的策略以优化测试流程、方便测试用例的提取。实践表明 OMT模型的引入提

高了测试效率。

本文从Web性能测试的成本预算、工具支持等角度给出了使用开源性能测试工具JMeter

对MS系统进行性能测试的具体策略、步骤和方法。在实际使用JMeter过程中对JMeter的工

作原理、脚本编写方法及测试脚本执行的流程进行了深入的研究。工作的主要内容和成果如下

通过单机模式下针对MS系统中处理用户主要业务请求的各CGI子模块的性能测试

给出了JMeter 在各个业务模块性能测试过程中能够承受的最大并发用户数为后续利用

JMeter对Server进行分布式并发测试中模拟用户业务请求的JMeter Agent的配置提供了

重要的数据参考和方法借鉴。

在针对管理员级操作Server页面的性能测试过程中解决了JMeter不能录制https请

求过程的问题设计了一个代码转换器实现了从Badboy录制的脚本到JMeter测试所需

脚本之间的自动化转换提高了测试效率。

通过对性能测试结果的分析和研究探索了MS系统的性能瓶颈提出了改进系统性

能的方法。

关键词 Web性能测试 JMeter  OMT模型测试用例测试脚本 Badboy

I

基于JMeter的MS Web应用系统的性能测试研究

Abstract

Performance is an important aspect of measuringWeb application,it directly reflects the qualitylevel of Web services. How to ensure a Webapplication’ s safety, reliability and efficiency of theimplementation before putting it into use, has increasingly becomethe focus of people’ s attention. As

Web application’ s own characteristics and specificity, make itsperformance testing must rely on testtools.

This paper in-depth studied and analyzed theprinciples, categories, common test tools andmethods of Web application’ s performance testing. Onthis basis, for the Enterprise Information

Security Monitoring System―MS system a Webapplication system , it carried out performancetesting.During the test, it proposed introducing OMT model to MSsystem’ s performance testing, tomodel the system, so as to optimize the testing process, facilitatethe extraction of test cases.Practiceshows that the introduction of OMT model improves the efficiency ofthe test.

From the perspective of cost estimates, tools’ support,etc,it gave the specific policies, proceduresand methods of MS system’ s performance testing by using the opensource performance testing tool

JMeter. In the actual course of using JMeter, itin-depth researched on JMeter’ s working principle,compilation of the script and test script’ s execution process. Main

content and achievements of thework are as follows:

Through performance testing of CGI sub-model, which isresponsible for processing user’ smain business requests of MS system under stand-alone mode, itgave the imum number ofconcurrent users JMeter can withstand in various businessmodules’ performance testing process.

During the subsequent MS Server’ s distributed concurrentperformance tesing, the above resultsprovide important data reference and method reference ofconfiguring JMeter Agents, which areused to simulate user’ s business requests.

During the performance testing of Administrator-level

operating Server’ s page, it solved theproblem of JMeter can not record https requests, and designeda code conventor, which realizedautomatic conversion between script recorded by Badboy andscript JMeter needed, it improvesthe efficiency of the test.

Through analyzing and researching on theperformance testing results, it explored MSsystem’ s bottleneck, proposed ways of improving system’ sperformance.

Keywords: Web performance testing, JMeter, OMT model, testcase, test script, Badboy

II

南京航空航天大学硕士

学位论文

图表清单

图 2. 1 软 件 开 发 - 测 试 W 模型. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5

图 2.2 一 般 的 Web 应 用 体 系 结构. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

图 2.3 Web 应 用 测 试 包 含 的 内容. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

图 2.4 Web 性 能 测 试 原 理图. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8

图 2.5 Web 性 能 测 试 流 程图. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

腾讯云新用户省钱秘笈购买云服务器

目前国内云计算市场竞争异常激烈,尤其是国内的腾讯云、阿里云、景安等商家促销活动一波接一波的进行,对于有需要的用户确实得到不小的实惠。但是这样给予国内的主机商确实是比较大的打击,毕竟这些商家的背景和实例强劲,即便是贴本补贴优惠,也是不怕的。前两年阿里一家各种活动促销,确实在国内市场占据主要的市场地位,腾讯云开始两年没有较大的吸引用户,不过这两年的发展还是比较稳健的。我们很多网友在之前肯定也享受到一些...

哪个好Vultr搬瓦工和Vultr97%,搬瓦工和Vultr全方位比较!

搬瓦工和Vultr哪个好?搬瓦工和Vultr都是非常火爆的国外VPS,可以说是国内网友买的最多的两家,那么搬瓦工和Vultr哪个好?如果要选择VPS,首先我们要考虑成本、服务器质量以及产品的售后服务。老玩家都知道目前在国内最受欢迎的国外VPS服务商vultr和搬瓦工口碑都很不错。搬瓦工和Vultr哪个稳定?搬瓦工和Vultr哪个速度快?为了回答这些问题,本文从线路、速度、功能、售后等多方面对比这两...

spinservers:10Gbps带宽高配服务器月付89美元起,达拉斯/圣何塞机房

spinservers是一家主营国外服务器租用和Hybrid Dedicated等产品的商家,Majestic Hosting Solutions LLC旗下站点,商家数据中心包括美国达拉斯和圣何塞机房,机器一般10Gbps端口带宽,且硬件配置较高。目前,主机商针对达拉斯机房机器提供优惠码,最低款Dual E5-2630L v2+64G+1.6TB SSD月付89美元起,支持PayPal、支付宝等...

性能测试为你推荐
哈利波特罗恩升级当爸哈利波特2为啥赫敏只抱哈利波特不抱罗恩。只是握手!!!这……美国互联网瘫痪网络中断会对美国军力造成什么影响美国互联网瘫痪美国是否有能力关闭全球互联网以及中国互联网,还有美国有没能力关闭某个网站,比如淘宝,天涯,网易等Baby被问婚变绯闻终于知道黄晓明为什么会娶baby硬盘的工作原理硬盘的工作原理?是怎样存取数据的?微信回应封杀钉钉微信违规操作被封了,蓝色骨头手机谁有崔健执导的电影《蓝色的骨头》。www.hao360.cn主页设置为http://hao.360.cn/,但打开360浏览器先显示www.yes125.com后转换为www.2345.com,搜索注册表和bbs.99nets.com做一款即时通讯软件难吗 像hi qq这类的陈嘉垣马德钟狼吻案事件是怎么回事
深圳域名空间 景安vps 私服服务器 unsplash 线路工具 河南服务器 上海域名 免费活动 西安服务器托管 lick 贵阳电信 学生服务器 tracker服务器 godaddyssl linuxvi命令 泥瓦工 ddos攻击工具 台式机主机 流媒体服务器软件 vpn服务器架设 更多