Go to file
Vladimir Sitnikov 194a1a94b7 style: add .editorconfig to force braces in for, do, while, and if statements 2023-05-11 10:09:38 +03:00
.github bump actions/setup-java@v2 -> actions/setup-java@v3 2023-01-10 22:25:16 +03:00
.idea Add icon for JetBrains Toolbox 2020-04-05 19:26:17 +03:00
bin Website used for testing has gone, use another one 2023-04-29 18:35:22 +02:00
build-logic style: run "field can be static" 2023-05-05 12:25:59 +03:00
build-logic-commons chore: factor build-logic so it is easier to reuse 2023-04-27 14:26:05 +03:00
config style: simplify junit.JUmeterTest by rethrowing exceptions instead of catching them 2023-05-09 10:03:52 +03:00
extras Remove LoggingManager class (it has been deprecated since JMeter 3.2) 2020-10-31 14:14:45 +03:00
gradle fix(deps): update dependency org.neo4j.driver:neo4j-java-driver to v4.4.11 2023-04-29 11:04:01 +03:00
lib Update xmlgraphics-commons to 2.6 (from 2.3) 2021-03-05 16:57:00 +01:00
src fix(deps): update dependency net.sf.saxon:saxon-he to v11.5 (#5854) 2023-05-11 09:23:35 +03:00
xdocs Speed up CPU-bound tests by skipping recoverRunningVersion for elements that are shared between threads (the ones that implement NoThreadClone (#5899) 2023-05-10 20:30:27 +03:00
.asf.yaml Add .asf.yaml, enable GitHub Issues 2022-09-23 17:10:09 +03:00
.codecov.yml customize codecov 2017-11-12 16:21:19 +00:00
.editorconfig style: add .editorconfig to force braces in for, do, while, and if statements 2023-05-11 10:09:38 +03:00
.gitattributes Use union merge strategy for changes.xml and changes_history.xml 2019-10-02 16:19:09 +03:00
.gitignore chore: add /src/dist-check/temp/ to .gitignore 2023-01-10 21:55:24 +03:00
.ratignore chore: exclude renovate.json from rat since JSON can't have comments 2023-04-27 18:32:41 +03:00
CODE_OF_CONDUCT.md Add spotless rules for markdown files 2019-10-03 22:25:45 +03:00
CONTRIBUTING.md Update Bugzilla -> GitHub issues in the contribution documentation 2022-10-29 13:35:21 +03:00
LICENSE Add Gradle build scripts 2019-08-02 15:17:12 +03:00
NOTICE Update year in copyright notice 2023-04-24 15:24:50 +01:00
README.md Add notice for mxparser to README.md 2022-03-05 17:32:22 +01:00
build.gradle.kts chore: factor build-logic so it is easier to reuse 2023-04-27 14:26:05 +03:00
checksum.xml chore: update xalan:xalan to 2.7.3 2023-05-05 17:03:15 +03:00
doap_JMeter.rdf Add the 5.5 release 2022-06-14 14:01:26 +01:00
eclipse.md Add Gradle build scripts 2019-08-02 15:17:12 +03:00
fb-csv.xsl Run autostyleApply 2019-12-28 19:28:03 +03:00
fb-excludes.xml Run autostyleApply 2019-12-28 19:28:03 +03:00
gradle.md chore: factor build-logic so it is easier to reuse 2023-04-27 14:26:05 +03:00
gradle.properties chore: factor build-logic so it is easier to reuse 2023-04-27 14:26:05 +03:00
gradlew Update Gradle to 7.6 from 7.3 2023-01-10 22:52:23 +03:00
gradlew.bat Update Gradle to 7.6 from 7.3 2023-01-10 22:52:23 +03:00
renovate.json fix(deps): bump activemq to 5.16.6 to support Java 8 2023-04-29 19:55:10 +03:00
settings.gradle.kts chore: Capture build scans on ge.apache.org to benefit from deep build insights 2023-05-09 17:57:26 +03:00

README.md

Apache JMeter logo

An Open Source Java application designed to measure performance and load test applications.

By The Apache Software Foundation

Build Status codecov License Stack Overflow Maven Central Javadocs Twitter

What Is It?

Apache JMeter can measure performance and load test static and dynamic web 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.

JMeter screen

Features

Complete portability and 100% Java.

Multi-threading allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.

Protocols

Ability to load and performance test many 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

IDE

Fully featured Test IDE that allows fast Test Plan recording (from Browsers or native applications), building and debugging.

Command Line

Command-line mode (Non GUI / headless mode) to load test from any Java compatible OS (Linux, Windows, Mac OSX, ...)

Reporting

A complete and ready to present dynamic HTML report

Dashboard screenshot

Live reporting into 3rd party databases like InfluxDB or Graphite

Live report

Correlation

Easy correlation through ability to extract data from most popular response formats, HTML, JSON, XML or any textual format

Highly Extensible Core

  • Pluggable Samplers allow unlimited testing capabilities.
  • Scriptable Samplers (JSR223-compatible languages like Groovy).
  • Several load statistics can be chosen with pluggable tiers.
  • Data analysis and visualization plugins allow great extensibility and personalization.
  • Functions can be used to provide dynamic input to a test or provide data manipulation.
  • Easy Continuous Integration via 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

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 - only needed for SMIME Assertion
  • Java Compiler (OPTIONAL):

    A Java compiler is not needed since the distribution includes 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 directory, and it may be browsed starting from the file called index.html.

Reporting a bug/enhancement

See Issue Tracking.

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:

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 builds and tests JMeter:

./gradlew build

If the system does not have a GUI display then:

./gradlew build -Djava.awt.headless=true

The output artifacts (jars, reports) are placed in the build folder. 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 that it completely refreshes lib/ contents, so it would remove custom plugins should you have them installed.

./gradlew createDist

Alternatively, you could get Gradle to start the GUI:

./gradlew runGui

Developer Information

Building and contributing is explained in details at building JMeter and CONTRIBUTING.md. More information on the tasks available for building JMeter with Gradle is available in gradle.md.

The code can be obtained from:

For legal and licensing information, please see the following files:

Cryptographic Software Notice

This distribution may include software that has been designed for use with cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See https://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included software that may be subject to export controls on cryptographic software:

Apache JMeter interfaces with the Java Secure Socket Extension (JSSE) API to provide

  • HTTPS support

Apache JMeter interfaces (via Apache HttpClient4) with the Java Cryptography Extension (JCE) API to provide

  • NTLM authentication

Apache JMeter does not include any implementation of JSSE or JCE.

Thanks

Thank you for using Apache JMeter.

Third party notices

  • Notice for mxparser:

    This product includes software developed by the Indiana University Extreme! Lab. For further information please visit http://www.extreme.indiana.edu/