Recently I want to play with Jmeter! Let's take a look at the installation process. Who makes my memory worse ~ {{{ (>_< )}}}
Here is an overview of Jmeter:
Apache JMeter is a 100% pure Java Desktop Application for stress testing and performance measurement. It was initially designed for Web application testing but subsequently extended to other testing areas.
What can I do with it?
Apache JMeter can be used to test the performance of static and dynamic resources (such as files, Servlets, Perl scripts, Java objects, databases and queries, and FTP servers. It can be used to simulate heavy loads on servers, networks, or objects to test their strength or analyze the overall performance under different pressure types. You can use it to perform Graphic analysis of performance or test your servers, scripts, and objects under high-concurrency loads.
What can it do?
Features of Apache JMeter include:
- You can perform stress and performance tests on HTTP and FTP servers, or perform the same tests on any database (through JDBC ).
- Full portability and 100% pure Java.
- Fully supported by Swing and lightweight components (pre-compiled JAR
javax.swing.*
) Package.
- The fully multithreading framework allows concurrent sampling by multiple threads and simultaneous sampling by separate thread groups for different functions.
- A well-designed GUI allows quick operations and more accurate timing.
- Cache and offline analysis/playback of test results.
- High scalability:
- Connectable samplicers allow unlimited testing capabilities.
- Various load statistical tables and linked timers are available.
- The data analysis and visualization plug-in provides good scalability and personalization.
- Provides dynamic input to test (including JavaScript ).
- Support for script-based sampling devices (BeanShell is supported in 1.9.2 and later versions ).
---------------------- The following is the installation record -----------------------------------
1> install JDK. For example, the installation address is C:/Program Files/Java/jdk1.5.0;
2> set environment variables:
In User variables, create a variable named "JAVA_HOME" with the variable value: the directory for installing JDK, for example, "C:/Program Files/Java/jdk1.5.0 ;".
Ii. Create a new variable named "CLASSPATH" with the variable value:
"C:/Program Files/Java/jdk1.5.0/lib/dt. jar; C:/Program Files/Java/jdk1.5.0/lib/tools. jar; C:/Program
Files/Java/jdk1.5.0/bin ;".
Iii. Add "% JAVA_HOME %/bin;" after the "Path" variable value of the system variable ;".
3> install jmeterand decompress "jakarta-jmeter-2.3.2.zip" to the root directory of the E:/jakarta-jmeter-2.3.2 ".
4> set environment variables:
I in user variables, new variable name "JMETER_HOME", variable value: "E:/jakarta-jmeter-2.3.2 ;".
Ii modify "CLASSPATH" and add: "% JMETER_HOME %/lib/ext/ApacheJMeter_core.jar; % JMETER_HOME %/lib/jorphan. jar; % JMETER_HOME %/lib/logkit-1.2.jar ;".
5> enter "java" in the CMD command prompt of the system to see the corresponding help information, indicating that jdk is successfully installed.
6> RUN jmeter: Open E:/jakarta-jmeter-2.3.2/bin/jmeter. bat directly.
The installation is complete!