Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Project28JMeter/ApacheJmeter/extras/addons.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35 lines (21 sloc)
1.14 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file describes how to create local additions to JMeter. | |
Create a new directory for the sources: | |
cd JMETER_HOME | |
mkdir addons | |
Copy addons.xml into JMETER_HOME | |
To build the addons, run ant as follows: | |
ant -buildfile=addons.xml | |
This will compile the sources to build/addons/... | |
If successful, it will also create the jar file: | |
JMETER_HOME/lib/ext/ApacheJmeter_addons.jar | |
As the filename of this jar is alphabetically earlier, | |
any classes in it will be used in preference to existing JMeter classes. | |
This allows the addons to be used to supply new functionality as well | |
as overriding existing functionality, without needing to rebuild JMeter. | |
Such addons are intended mainly to be used locally - for example if you | |
have developed any new code that is only relevant to your organisation. | |
It can also be useful for developing general purpose add-ons that are | |
intended for general release. Once tested, these can be moved into one of | |
the normal JMeter source directories. | |
N.B. The build file assumes that JMeter has been built separately, as | |
JMeter classes are resolved from jars in the lib and lib/ext directories. |