"Background test" Linux under the small test jmeter

Source: Internet
Author: User

The previous article mainly on how to use JMeter under the Windows system for stress testing, but found some problems, when the QPS reached a certain peak, due to the Windows machine itself bottlenecks caused by the network card can be compressed, in addition to the formal environment, Development wants to test for IP, press only one machine, and then evaluate the performance of the entire fleet, so I tried to test under Linux.

Process

The last installation package is also used. JMeter is cross-platform and can be run on Linux and Windows. So the simplest way to do this is to save the last time we did a pressure test on Windows. Named ***.JMX

After we open the Jmx file, we can modify these places (add the necessary adjustments):

You can modify the number of cycles and threads:

Modify the requested interface:

After the modification is complete? We need to upload this jmx file to the JMeter Bin directory on the Linux server:

After the pass we run the command directly:./jmeter-n-T ***.JMX:

The approximate meaning of the result is:

After reading is not feel and Windows JMeter almost, in fact, JMeter itself can support the method is particularly many, I here also just put oneself use some write out, peacetime everybody can communicate with me new usage, give me message, I see also will be the first time reply.

"Background test" Linux under the small test jmeter

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.