文档介绍:摘要
近十几年来,随着软件应用的迅速推广,对软件测试的要求也变得日益迫切, 各种针对系统性能的测试方法和技术不断出现。而Web应用程序性能测试相对于软件测试来说,有其自身的特殊性和难点,主要体现在负载的不可预知性、测试场景设计的困难、测试环境和真实环境的差异等方面ll】。再加上用J2EE模式组建网站是现在流行的一种软件开发形式,因此,研究基于J2EE模式网站的性能测试问题,有很强的实际应用价值。
本文主要在现有软件测试技术研究的基础上,改进了WEB软件性能测试的模型,并通过性能测试工具对IBM公司开发的P1antsBywebSphere J2EE程序进行了测试,验证了测试模型的有效性。论文主要工作和成就包括:
【2】的研究,分析了模型中各个参数指标的含义;
,分析了如何制定测试用例以及测试数据的生成方法;
;
,对原有的测试模型进行改进,增加了请求失败率这个指标,使得性能测试更加充分和完整;
,分析数据得出测试结论; 通过改进的测试模型对Web程序进行测试,分析出改进的测试模型和现有的
测试模型对性能测试结论的影响,从而可以对以后的Web性能测试具有借鉴和指
导意义。
关键词:Web应用程序,性能测试,J2EE
ABSTRACT
Recent years,with the software application spreading rapidly,the requirement of software testing es more and more important,and many
kinds of new methods and technologies have been used in software testing
pared with the traditional software test,there are many difference and difficulties in the performance testing of WEB application, such as the difficulty that the load can not foresee,the design of testing scenes is difficult,and the difference of testing condition and real
addition,it is more popular that web designers select the configuration of J2EE to construct web it exist applicational value in researching J2EE web performance testing.
The paper is based of current test technology research and the author makes some improvements of current Web performance test the tools of performance testing, we tested J2EE Web appl ication
“P1antsByWebSphere”,which is developed by results validated Web test model.
The main works and research results of this thesis are as follows: current web test model have been researched,and the
parameters in web test model were analyzed carefully:
methods of test case generation were researched,and the test case and test data were build:
performance testing methods were researched and web application performance testing model was how to select one of them