维普资讯
第26卷第6期 计算机应用 Vol_26No.6
2006年 6月 ComputerApplications June2006
文章编号:1001—9081(2006)06—1472—03
基于联合压力测试的Web应用程序性能预测方法
卢琰琰,昊海燕,陈怀楚,高国柱,王映雪
(清华大学计算机与信息管理中心,北京 100084)
(1uyy@cic.tsinghua.edu.cn)
摘 要:提 出了一种基于联合压力测试的性能预测方法:在客户端对Web应用程序进行一系列
负载测试的同时,对运行Web应用程序的服务器进行资源消耗,接着根据测试结果建立性能模型,做
出性能预测。在一个典型的Web应用系统上应用了这种方法,通过与传统负载测试结果的比较,证
明了这种方法的可行性、准确性和效率。
关键词:Web应用;性能预测;负载测试;压力测试
中图分类号:TP393.09 文献标识码 :A
PerformancepredictionmethodofW ebapplication
basedoncombinedstresstesting
LUYan—yan,WU Hal—yan,CHENHuai—chu,GAOGuo—zhu,WANGYing—xue
(ComputerandInformationManagementCenter,TsinghuaUniversity,Being100084,China)
Abstract:PredictingperformanceofWebapplicationisavitalguidanceforbothQoSofWebapplicationand
configurationofserver.Anewapproachbasedoncombinedstresstestingwaspresented.Whilerunningaseriesofloadtesting
onclient-side,resourceconsumingOntheselwcrwasalsoperformed.Thentheperformancemodelwasestablishedandmake
prediction.Comparingwithconventionalloadtesting,thisexperimental resultsonatypicalWebapplication system were
showedthefeasibility,accuracyandefficiencyofthismethod.
Keywords:Webapplication;performanceprediction;loadtesting;stresstesting
本文介绍的联合压力测试方法是对传统负载测试方法的
0 引言 一
种发展和补充。在联合压力测试 中,我们对Web应用程序
应用程序的性能预测是指预测该应用程序在某种给定的 进行负载测试 ,与此同时,消耗并监视运行 Web应用程序的
运行方式及环境下的性能。常见的应用程序的性能预测方法 服务器的硬件资源,形成虚拟的硬件配置。负载测试和资源
有基于用户经验的性能预测,基于模拟或测试的性能预测,基