Apache-Jmter性能测试环境搭建

官方网站:http://jmeter.apache.org/ java


1、Jmeter简介shell

Jmeter是JAVA开发的开源的性能测试软件,其功能以下:apache

Apache JMeter features include:ide

  • Ability to load and performance test many different server/protocol types:性能

    • Web - HTTP, HTTPS测试

    • SOAP网站

    • FTPui

    • Database via JDBCspa

    • LDAPdebug

    • Message-oriented middleware (MOM) via JMS

    • Mail - SMTP(S), POP3(S) and IMAP(S)

    • MongoDB (NoSQL)

    • Native commands or shell scripts

    • TCP

  • Complete portability and 100% Java purity .

  • Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.

  • Careful GUI design allows faster Test Plan building and debugging.

  • Caching and offline analysis/replaying of test results.

  • Highly Extensible core:

    • Pluggable Samplers allow unlimited testing capabilities.

    • Several load statistics may be choosen with pluggable timers .

    • Data analysis and visualization plugins allow great extensibility as well as personalization.

    • Functions can be used to provide dynamic input to a test or provide data manipulation.

    • Scriptable Samplers (BeanShell, BSF-compatible languages and JSR223-compatible languages)


2、Windows环境下的下载和安装

(1)Java下载地址http://www.java.com/zh_CN/,直接下载点击下一步安装便可;

(2)Jmter下载地址http://jmeter.apache.org/download_jmeter.cgi,下载apache-jmeter-2.12.zip,并将其解压缩到c:\;

(3)直接运行C:\apache-jmeter-2.12\bin\jmeter.bat便可;


附注:

若是出现如下错误:

*WARNING: Could not open/create prefs root。。。

在注册表HKEY_LOCAL_MACHINE\SOFTWARE下搜索JavaSoft项,并给执行Jmeter的用户以彻底控制权限;

相关文章
相关标签/搜索