常见的开源性能测试工具介绍_第1页
常见的开源性能测试工具介绍_第2页
常见的开源性能测试工具介绍_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、随着Web 2.0技术在B/S结构软件中的广泛应用,许多公司和政府机构都对外提供了一些基于Web的互联网服务软件。但是,通常在设计和开发这类Web应用软件的时候很难模拟出大量网络用户同时访问此系统的实际情况,因此,当web应用软件遭遇到网络用户并发访问时,容易发生应用服务器和数据库服务器的响应时间变慢,甚至有可能出现服务器宕机。为了避免这种情况的发生,在系统上线运行前,需要一种能够真实模拟大量用户访问Web系统的性能测试工具进行压力测试,测试动态网页(包括ASP、PHP、JSP等)的响应时间,为服务器的性能优化和调整提供数据依据。使用开源软件最明显的优势是成本。各种Linux发行版比如Ubun

2、tu不仅免费下载,而且易于安装、使用和更新,也不存在许可证的问题。成本虽然是最大的优势,但是质量也是重要的因素,开源软件质量可靠、弹性大、适应性也更强。例如电信和金融部门大规模采用Linux和其它开源解决方案是由于它们的性价比远远超过了Unix和Windows。在性能测试领域除了常见的LoadRunner、silk-performance外还有众多的开源工具,笔者在此为大家介绍几款。Apache JMeterDescription:Apache JMeter is a 100% pure Java desktop application designed to load test functi

3、onal behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP

4、Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent

5、 load.Requirement:Solaris, Linux, Windows (98, NT, 2000). JDK1.4 (or higher).Apache JMeter是一个专门为运行和服务器装载测试而设计的、100的纯Java桌面运行程序。原先它是为Web/HTTP测试而设计的,但是它已经扩展以 支持各种各样的测试模块。它和用于HTTP和SQL数据库(使用JDBC)的模块一起运送。它可以用来测试静止资料库或者活动资料库中的服务器的运行情 况,可以用来模拟对服务器或者网络系统加以重负荷以测试它的抵抗力,或者用来分析不同负荷类型下的所有运行情况。它也提供了一个可替换的界面用来定制数据

6、 显示,测试同步及测试的创建和执行。GrinderDescription:The Grinder is a Java load-testing framework making it easy to orchestrate the activities of a test script in many processes across many machines, using a graphical console application. Requirement:OS IndependentGrinder是一个Java测试框架,被广泛的应用在开元Java性能测试产品中, 根据项目网站的说法,

7、Grinder的 主要目标用户是“理解他们所测代码的人Grinder不仅仅是带有一组相关响应时间的黑盒测试。由于测试过程可以进行编码而不是简单地脚本 化,所以程序员能测试应用中内部的各个层次,而不仅仅是通过用户界面测试响应时间。HammeroraDescription:Hammerora is a load generation tool for the Oracle Database and Web Applications. Hammerora includes pre-built schema creation and load tests based on the industry s

8、tandard TPC-C and TPC-H benchmarks to deploy against the Oracle database with multiple users. Hammerora also converts and replays Oracle trace files and enables Web-tier testing to build bespoke load tests for your entire Oracle application environment.Requirement:Platform Independent (Binaries for

9、Linux and Windows)HammerOra 工具是基于TCL(Tool Command Language)语言的数据库性能测试工具。首先HammerOra是一款负载测试工具;其次HammerOra目前支持Oracle, MySQL和HTTP应用(web应用); 然后HammerOra是开源的,框架有点类似于商业工具LoadRunner; 因为HammerOra是基于Tcl语言的,所以天生就是可移植的,可以运行于Windows平台和Linux平台。HammerOra内嵌了两套标准测试脚本 tpc-c and tpc-h,当然你也可以自己开发和扩充测试脚本,开发语言是TclOpenST

10、ADescription:A distributed software testing architecture based on CORBA. Using OpenSTA (Open System Testing Architecture) a user can generate realistic heavy loads simulating the activity of hundreds to thousands of virtual users. OpenSTA graphs both virtual user response times and resource utilizat

11、ion information from all Web Servers, Application Servers, Database Servers and Operating Platforms under test, so that precise performance measurements can be gathered during load tests and analysis on these measurements can be performed. Requirement:Windows 2000, NT4 and XPOpenSTA是一个免费的、开放源代码的web性能测试工具,能录制功能非常强大的脚本过程,执行性能测试。例如虚拟多个不同的用户同时登陆被测试网 站。其还能对录制的测试脚本进行,按指定的语法进行编辑。在录制完测试脚本后,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论