forked from apache/jmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
218 lines (155 loc) · 7.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
A P A C H E J M E T E R
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 multiclient load generator.
Apache JMeter features include:
Ability to load and performance test many different server/protocol types:
o Web - HTTP, HTTPS
o SOAP
o FTP
o Database via JDBC
o LDAP
o Message-oriented middleware (MOM) via JMS
o Mail - SMTP(S), POP3(S) and IMAP(S)
o MongoDB (NoSQL)
o Native commands or shell scripts
o TCP
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:
o Pluggable Samplers allow unlimited testing capabilities.
o Several load statistics may be chosen with pluggable timers .
o Data analysis and visualization plugins allow great extensibility as well as personalization.
o Functions can be used to provide dynamic input to a test or provide data manipulation.
o Scriptable Samplers (BeanShell, BSF- and JSR223- compatible languages)
The Latest Version
------------------
Details of the latest version can be found on the Java Apache
Project web site (http://jmeter.apache.org/).
Requirements
------------
The following requirements exist for running Apache JMeter:
o Java Interpreter:
A fully compliant Java 6 (or later) Runtime Environment is required
for Apache JMeter to execute.
o Optional jars:
Some jars are not included with JMeter.
If required, these should be downloaded and placed in the lib directory
JDBC - available from database supplier
JMS - available from the JMS provider
o Java Compiler [OPTIONAL]:
A Java compiler is not needed since the distribution includes a
precompiled Java binary archive. Note that a compiler is required
if you plan 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.
- Nightly builds (Be aware that these have not been reviewed or tested)
Unpack BOTH the _bin and _lib archives into the SAME directory structure
Running JMeter
--------------
Change to the bin directory
Run the jmeter (Un*x) or jmeter.bat (Windows) file.
For Windows (2K, XP etc), there are also some other scripts.
Drag-drop a JMX file onto one of them:
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.
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
- Nightly builds
Unpack the _src, _bin and _lib archives into the same directory structure.
Please note:
To avoid unnecessary duplication, the nightly source archives do not contain
the source files which are needed to run JMeter (for example properties files and scripts).
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 test,
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].
JMeter is built using Ant.
Change to the top-level directory and issue the command:
ant download_jars ! only needs to be done once;
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
---------------------
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
Licensing and legal issues
--------------------------
For legal and licensing issues, please look the files:
LICENSE
NOTICE
This project includes HTMLParser.
For detailed information about HTMLParser, the project is
hosted on Sourceforge at http://htmlparser.sourceforge.net/
The developers of Apache JMeter are grateful to the developers
of HTMLParser for re-releasing htmlparser under CPL V1.0
HTMLParser was originally created by Somik Raha in 2000.
Derrick Oswald is the current lead developer and was kind
enough to assist JMeter.
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 HttpClient3) 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.
rzuo ([email protected]) modification details
-----------------------------
1. Add jmeter.log append mode to prevent this log file to be truncated at next startup of jmeter
src/jorphan/org/apache/jorphan/logging/LoggingManager.java
2. Add this properties for left tree, logger pannel and script editor font size change individually
bin/jmeter.properties
+jmeter.lefttree.font.size=15
+jmeter.loggerpanel.font.size=15
+jmeter.editor.font.size=15
src/core/org/apache/jmeter/gui/MainFrame.java
src/core/org/apache/jmeter/gui/LoggerPanel.java
src/core/org/apache/jmeter/gui/util/JSyntaxTextArea.java