JMeter Installing the--linux platform

Source: Internet
Author: User

When testing with the Windows platform, it is affected by network conditions, resulting in inaccurate test results, especially in cases of high concurrency, requiring accurate response time for test requests, which is more demanding for the network. In such a case, consider installing JMeter on the Linux server side to test.

The following is a brief introduction to the Linux environment installation JMeter steps.

Preparation environment:

Linux Platforms

JMeter installation Package

Jdk

The download of the software can refer to the previous Windows environment installation JMeter, which is not mentioned here.

First, install the JDK

The installation of JDK can refer to the following content

Http://jingyan.baidu.com/article/90808022d25fa3fd90c80f5f.html

Second, installation JMeter

1. Upload the JMeter compressed package to the specified directory in Linux.

2. Unzip the package

Unzip Apache-jmeter-3.1.zip

3. Give jmeter.sh the right, into the decompression directory/jmeter/bin, chmod 777 jmeter.sh, can be used sh jmeter.sh-v to detect whether the command is available

Iii. Local writing of test plans

The preparation of the test plan has been introduced in the JMeter new WebService Interface test plan, which is not mentioned here.

Iv. Uploading the test plan

upload the locally saved test plan file to the server (the directory I uploaded is apache-jmeter-3.1/bin/data)

To execute a test plan:

SH jmeter.sh-n-T data/test.jmx-l data/result_1.jtl

V. Analysis of test results

After the test plan is executed, download the test result file result_1.jtl to local and view the file with JMeter.

Vi. reference Documentation

Http://www.cnblogs.com/zhaoxd07/p/5059541.html


JMeter Installing the--linux platform

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.