Apache JMeter features include:
- Ability to load and performance test many different server/protocol types:
- Web - HTTP, HTTPS
- SOAP / REST
- 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 chosen 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
告诉了我们,Jmeter支持的协议,100%的纯java开发,可支持GUI界面等
Jmeter汉化非常不好,建议将其换成英文:
在目录:%Jmeter_Path%\bin下找到配置文件,
重启Jmeter后,就会发现,Jmeter已经换成纯英文的了。
Jmeter目录:
拿到新工具后,除了看官网意外,还要熟悉目录结构:
Bin目录文件:
jmeter.bat:windows的启动文件
jmeter.log:日志文件
jmeter.sh:linux的启动文件
jmeter.properties:系统配置文件
jmeter-server.bat:windows分布式测试要用到的服务器配置
jmeter-server:linux分布式要用到的服务器配置
docs:接口文档目录
extras:扩展插件目录
lib:所用到的插件目录,里面全是jar包,jmeter会自动在JMETER_HOME/lib和ext目录下寻找需要的类
Licenses:jmeter证书目录
printable_docs:用户使用手册
log的日志级别可在jmeter.properties中修改
java虚拟机启动配置
在Jmeter启动的时候,设置,jmeter.bat
这时,我们通过对Jmeter官网以及Jmeter的目录结构,这时我开始初识一下Jmeter吧!
1.Test Plan 测试计划
所有的脚本、参数化、关联等,都在这里添加