JMeter Installation notes in Windows

Source: Internet
Author: User

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 JARjavax.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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.