Apache-Jmter性能测试环境搭建
官方网站:http://jmeter.apache.org/
一、Jmeter简介
Jmeter是JAVA开发的开源的性能测试软件,其功能如下:
Apache JMeter features include:
Ability to load and performance test many different server/protocol types:
Web - HTTP, HTTPS
SOAP
FTP
Database via JDBC
LDAP
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)
二、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的用户以完全控制权限;
本文出自 “缘随心愿” 博客,请务必保留此出处http://281816327.blog.51cto.com/907015/1620333
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。