Go to file
Philippe Mouawad 358acbba80 Bug 61752 - RandomDate : Function does not allow missing last parameter used for variable name
Fix bug
Increase coverage
Correct the minimum number of parameters
Bugzilla Id: 61752

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1815141 13f79535-47bb-0310-9956-ffa450edef68
2017-11-13 22:18:57 +00:00
bin Bug 61639 : HTTP(S) Test Script Recorder : In request filtering tab, uncheck by default "Notify Child Listeners of filtered samplers" 2017-11-11 22:29:14 +00:00
docs Bug 61672 - add tht choice between prefix and transaction name to name sampler during recording : Philippe catch 2017-11-11 22:21:09 +00:00
extras Bug 61399 - Make some bin and extras scripts Shellcheck compatible 2017-08-26 13:07:21 +00:00
lib Bug 61697 - Introduce Darcula Look And Feel to make JMeter UI more attractive 2017-10-30 20:30:04 +00:00
licenses Updated to rhino-1.7.7.2 2017-10-21 09:30:16 +00:00
res Updated to rhino-1.7.7.2 2017-10-21 09:30:16 +00:00
src Bug 61752 - RandomDate : Function does not allow missing last parameter used for variable name 2017-11-13 22:18:57 +00:00
test Bug 61752 - RandomDate : Function does not allow missing last parameter used for variable name 2017-11-13 22:18:57 +00:00
xdocs Bug 61752 - RandomDate : Function does not allow missing last parameter used for variable name 2017-11-13 22:18:57 +00:00
.codecov.yml customize codecov 2017-11-12 16:21:19 +00:00
.gitignore #resolve #24 2016-04-03 21:04:44 +00:00
.travis.yml Fix svnCheck failure for travis 2017-10-25 16:41:51 +00:00
CODE_OF_CONDUCT.md Markup 2017-11-09 14:32:24 +00:00
CONTRIBUTING.md Add github Contributing guidelines 2017-11-08 12:55:00 +00:00
LICENSE Bug 61697 - Introduce Darcula Look And Feel to make JMeter UI more attractive 2017-10-30 21:13:58 +00:00
NOTICE Happy New Year 2017. 2017-01-01 16:35:06 +00:00
PULL_REQUEST_TEMPLATE.md Improved PR template 2017-11-10 20:28:11 +00:00
README.md Update HC4 2017-11-08 13:07:21 +00:00
build.properties Bug 61697 - Introduce Darcula Look And Feel to make JMeter UI more attractive 2017-10-30 20:30:04 +00:00
build.xml Bump version of ant to 1.9.1 as we now use ant:if which was introduced with 1.9.1 2017-11-09 20:42:59 +00:00
checkstyle-suppressions.xml Add basic checkstyle suppressions file 2015-12-09 00:03:26 +00:00
checkstyle.xml +=NewlineAtEndOfFile 2015-12-09 23:00:31 +00:00
eclipse.classpath Bug 61697 - Introduce Darcula Look And Feel to make JMeter UI more attractive 2017-10-30 20:30:04 +00:00
eclipse.md Whitespace police. 2016-11-14 18:10:44 +00:00
eclipse.project Bug 58696 - Create Ant task to setup Eclipse project 2015-12-06 14:44:39 +00:00
fb-csv.xsl
fb-excludes.xml Tab police 2013-03-17 21:48:24 +00:00
rat-excludes.txt Add build-local.properties to rat excluded files. 2017-03-17 21:06:49 +00:00

README.md

Apache JMeter logo

Open Source application designed to load test applications and measure performance. By The Apache Software Foundation


Build Status codecov Maven Central License Stack Overflow Twitter

What is it?

Apache JMeter is a 100% pure Java application designed to test and measure performance. It may be used as a highly portable server benchmark as well as multi-client load generator.

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)
  • Native commands or shell scripts
  • TCP

Full multi-threading 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 and personalization.
  • Functions can be used to provide dynamic input to a test or provide data manipulation.
  • Scriptable Samplers (Groovy, BeanShell, BSF- and JSR223- compatible languages)

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. Java 9 is not yet supported as of version 3.3.

  • 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. You can also use Ant to download the required library files:

ant download_jars

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 build-local.properties for ant to use the proxy:

proxy.use=true
proxy.host=proxy.example.invalid
proxy.port=8080
proxy.user=your_user_name
proxy.pass=your_password

You might also want to skip some tests - that are failing without proper access to the internet - by adding some more properties into build-local.properties:

skip.bug52310=true
skip.bug60607=true
skip.batchtest_Http4ImplPreemptiveBasicAuth=true
skip.batchtest_SlowCharsFeature=true
skip.batchtest_TestKeepAlive=true
skip.batchtest_ResponseDecompression=true
skip.test_http=true
skip.test_TestDNSCacheManager.testWithCustomResolverAnd1Server=true

Test builds

JMeter is built using Ant.

Change to the top-level directory and issue the command:

ant download_jars

This only needs to be done once; it will download any missing 3rd party jars.

ant

This will compile the application and enable you to run jmeter from the bin directory.

ant test [-Djava.awt.headless=true]

This will compile and run the unit tests. The optional property definition is required if the system does not have a suitable GUI display.

Developer information

Building and contributing is explained in details at https://jmeter.apache.org/building.html

The code is maintained in SVN at https://svn.apache.org/repos/asf/jmeter/trunk

There is a read-only mirror at GitHub: https://github.com/apache/jmeter

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 http://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.

Thank you for using Apache JMeter.