<h1 align="center"><img src="https://jmeter.apache.org/images/logo.svg" alt="Apache JMeter logo" /></h1>
<h4 align="center">Open Source application designed to load test applications and measure performance. By The Apache Software Foundation</h4>
<br>
[![Build Status](https://api.travis-ci.org/apache/jmeter.svg?branch=master)](https://travis-ci.org/apache/jmeter/)
[![codecov](https://codecov.io/gh/apache/jmeter/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/jmeter)
[![License](https://img.shields.io/:license-apache-brightgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![Stack Overflow](https://img.shields.io/:stack%20overflow-jmeter-brightgreen.svg)](https://stackoverflow.com/questions/tagged/jmeter)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.jmeter/ApacheJMeter/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.jmeter/ApacheJMeter)
[![Javadocs](https://www.javadoc.io/badge/org.apache.jmeter/ApacheJMeter_core.svg)](https://www.javadoc.io/doc/org.apache.jmeter/ApacheJMeter_core)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/apache/jmeter.svg?style=social)](https://twitter.com/intent/tweet?text=Powerful%20load%20testing%20with%20Apache%20JMeter:&url=https://jmeter.apache.org)
## What is it
Apache JMeter may be used to test performance both on static and dynamic resources, Web dynamic applications.
It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types.
![Image of JMeter 4.0](https://raw.githubusercontent.com/apache/jmeter/master/xdocs/images/screenshots/JMETER_4.0.png)
Apache JMeter features include:
Ability to load and performance test many different applications/server/protocol types:
- Web - HTTP, HTTPS (Java, NodeJS, PHP, ASP.NET,...)
- SOAP / REST Webservices
- FTP
- Database via JDBC
- LDAP
- Message-oriented Middleware (MOM) via JMS
- Mail - SMTP(S), POP3(S) and IMAP(S)
- Native commands or shell scripts
- TCP
- Java Objects
Full featured Test IDE that allows fast Test Plan **recording (from Browsers or native applications), building and debugging.**
[**Command-line mode (Non GUI / headless mode)**](http://jmeter.apache.org/usermanual/get-started.html#non_gui) to load test from any Java compatible OS (Linux, Windows, Mac OSX, ...)
A complete and [**ready to present dynamic HTML report**](http://jmeter.apache.org/usermanual/generating-dashboard.html)
![Dashboard screenshot](https://raw.githubusercontent.com/apache/jmeter/master/xdocs/images/screenshots/dashboard/response_time_percentiles_over_time.png)
[**Live reporting**](http://jmeter.apache.org/usermanual/realtime-results.html) into 3rd party databases like InfluxDB or Graphite
![Live report](https://raw.githubusercontent.com/apache/jmeter/master/xdocs/images/screenshots/grafana_dashboard.png)
Easy correlation through ability to extract data from most popular response formats, [**HTML**](http://jmeter.apache.org/usermanual/component_reference.html#CSS/JQuery_Extractor), [**JSON**](http://jmeter.apache.org/usermanual/component_reference.html#JSON_Extractor), [**XML**](http://jmeter.apache.org/usermanual/component_reference.html#XPath_Extractor) or [**any textual format**](http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor)
Complete portability and 100% Java purity
Full multi-threading framework allows concurrent sampling by many threads
and simultaneous sampling of different functions by separate thread groups.
Caching and offline analysis/replaying of test results.
Highly Extensible core:
- Pluggable Samplers allow unlimited testing capabilities.
- **Scriptable Samplers** (JSR223-compatible languages like Groovy)
- Several load statistics may be chosen with **pluggable tiers**.
- Data analysis and **visualization plugins** allow great exensibility and personalization.
- Functions can be used to provide dynamic input to a test orprovide data manipulation.
- Easy Continuous Integration through 3rd party Open Source libraries for Maven, Gradle and Jenkins
## The Latest Version
Details of the latest version can be found on the [JMeter Apache
Project web site](https://jmeter.apache.org/)
## Requirements
The following requirements exist for running Apache JMeter:
- Java Interpreter:
A fully compliant Java 8 Runtime Environment is required
for Apache JMeter to execute. A JDK with `keytool` utility is better suited
for Recording HTTPS websites.
- Optional jars:
Some jars are not included with JMeter.
If required, these should be downloaded and placed in the lib directory
- JDBC - available from the database supplier
- JMS - available from the JMS provider
- [Bouncy Castle](http://www.bouncycastle.org/test_releases.html) -
only needed for SMIME Assertion
- Java Compiler (*OPTIONAL*):
A Java compiler is not needed since the distribution cludes a
precompiled Java binary archive.
> **Note** that a compiler is required to build plugins for Apache JMeter.
## Installation Instructions
> **Note** that spaces in directory names can cause problems.
- Release builds
Unpack the binary archive into a suitable directory structure.
## Running JMeter
1. Change to the `bin` directory
2. Run the `jmeter` (Un\*x) or `jmeter.bat` (Windows) file.
### Windows
For Windows there are also some other scripts which you can drag-and-drop
a JMX file onto:
- `jmeter-n.cmd` - runs the file as a non-GUI test
- `jmeter-n-r.cmd` - runs the file as a non-GUI remote (client-server) test
- `jmeter-t.cmd` - loads the file ready to run it as a GUI test
## Documentation
The documentation available as of the date of this release is
also included, in HTML format, in the [printable_docs](printable_docs) directory,
and it may be browsed starting from the file called [index.html](printable_docs/index.html).
## Reporting a bug/enhancement
See [Issue Tracking](https://jmeter.apache.org/issues.html)
## Build instructions
### Release builds
Unpack the source archive into a suitable directory structure.
Most of the 3rd party library files can be extracted from the binary archive
by unpacking it into the same directory structure.
Any optional jars (see above) should be placed in `lib/opt` and/or `lib`.
Jars in `lib/opt` will be used for building JMeter and running the unit tests,
but won't be used at run-time.
_This is useful for testing what happens if the optional jars are not
downloaded by other JMeter users._
If you are behind a proxy, you can set a few build properties in `~/.gradle/gradle.properties` for gradle to use the proxy:
```properties
systemProp.http.proxyHost=proxy.example.invalid
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=your_user_name
systemProp.http.proxyPassword=your_password
systemProp.https.proxyHost=proxy.example.invalid
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=your_user_name
systemProp.https.proxyPassword=your_password
```
### Test builds
JMeter is built using Gradle.
The following command would build and test JMeter:
```sh
./gradlew build [-Djava.awt.headless=true]
```
The optional property definition is required if the system
does not have a suitable GUI display.
The output artifacts (jars, reports) are placed to `build` folders.
For instance, binary artifacts can be found under `src/dist/build/distributions`.
The following command would compile the application and enable you to run `jmeter` from the `bin`
directory. Note: it completely refreshes `lib/` contents, so it would remove clustom plugins
should you have them installed.
```sh
./gradlew createDist
```
Alternatively you could start GUI via
```sh
./gradlew runGui
```
## Developer information
Building and contributin
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
apache-jmeter-5.2.1.zip (2556个子文件)
jmeter.bat 8KB
jmeter-server.bat 2KB
create-rmi-keystore.bat 1KB
startup.bsh 3KB
BeanShellAssertion.bsh 2KB
remote.bsh 1KB
execcode.bsh 1KB
printvars.bsh 1KB
BeanShellSampler.bshrc 2KB
BeanShellFunction.bshrc 2KB
BeanShellAssertion.bshrc 1KB
BeanShellListeners.bshrc 1KB
proxycert.cmd 2KB
jmeter-n-r.cmd 2KB
jmeter-n.cmd 2KB
jmeter-t.cmd 2KB
mirror-server.cmd 1KB
stoptest.cmd 1KB
shutdown.cmd 1KB
threaddump.cmd 1KB
heapdump.cmd 1KB
schematic.cmd 1KB
jmeterw.cmd 1006B
krb5.conf 1KB
jaas.conf 1KB
bootstrap.min.css 118KB
jquery-ui.min.css 31KB
font-awesome.css 28KB
font-awesome.min.css 21KB
jquery-ui.structure.min.css 15KB
jquery-ui.theme.min.css 14KB
stylesheet.css 13KB
new-style.css 11KB
theme.blue.css 7KB
sb-admin-2.css 7KB
style.css 1KB
legends.css 1KB
dashboard.css 1KB
metisMenu.min.css 790B
CSVSample_user.csv 12B
CSVSample_actions.csv 10B
templates.dtd 1KB
fontawesome-webfont.eot 55KB
glyphicons-halflings-regular.eot 20KB
graph.js.fmkr 54KB
OverTime.html.fmkr 32KB
Throughput.html.fmkr 29KB
ResponseTimes.html.fmkr 22KB
dashboard-commons.js.fmkr 14KB
CustomsGraphs.html.fmkr 13KB
index.html.fmkr 10KB
dashboard.js.fmkr 7KB
customGraph.js.fmkr 5KB
utility.groovy 1KB
index-all.html 4.18MB
changes_history.html 769KB
component_reference.html 661KB
serialized-form.html 612KB
constant-values.html 476KB
overview-tree.html 412KB
HTTPSamplerBase.html 218KB
functions.html 218KB
properties_reference.html 185KB
allclasses-frame.html 181KB
allclasses-noframe.html 160KB
RespTimeGraphVisualizer.html 142KB
ArgumentsPanel.html 134KB
SmtpPanel.html 129KB
MainFrame.html 126KB
SampleResult.html 123KB
HashTree.html 122KB
TristateCheckBox.html 122KB
AbstractVisualizer.html 122KB
AbstractJMeterGuiComponent.html 122KB
JSyntaxTextArea.html 121KB
JTreeTable.html 121KB
AxisGraph.html 121KB
ProxyControlGui.html 118KB
RespTimeGraphChart.html 117KB
TestBeanGUI.html 113KB
JDateField.html 112KB
MailerVisualizer.html 110KB
JLabeledTextField.html 110KB
LDAPExtSampler.html 109KB
JSONPathAssertionGui.html 109KB
HttpMirrorControlGui.html 109KB
JMSPublisherGui.html 108KB
JLabeledChoice.html 108KB
SecuritySettingsPanel.html 108KB
ViewResultsFullVisualizer.html 108KB
HtmlPane.html 108KB
HTTPArgumentsPanel.html 107KB
StatGraphVisualizer.html 107KB
JMeterUtils.html 107KB
HTMLAssertionGui.html 106KB
NamePanel.html 106KB
JLabeledTextArea.html 106KB
GenericTestBeanCustomizer.html 106KB
JUnitTestSamplerGui.html 106KB
LineGraph.html 106KB
共 2556 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26
资源评论
Fiona_yang00
- 粉丝: 0
- 资源: 43
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功