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的用戶以徹底控制權限;

相關文章
相關標籤/搜索