Run JMeter script under Linux

Source: Internet
Author: User

1. win generate a test plan under

2. upload to Linux

3 , run the test plan

SH jmeter.sh-n-T second_login.jmx-l res.jtl

Error 1:

Solution:

Remove the JDK version from the original Linux system into the new JDK version and configure the new version of the JDK path in the environment variable

Source/etc/profile

Error 2:

The cause of this error is now in two cases:

In case 1, the lower version of JMeter runs a higher version of the test plan (the test plan was compiled on a higher version of JMeter). Workaround: Run the plan with the same or a later version of JMeter.

Scenario 2, a test plan generated using a third-party plug-in is run on a jmeter that does not have the third-party plug-in. Workaround: Install the plug-in on JMeter or rebuild the test plan that does not contain the plug-in.

is really less plug-ins, it is important to note that if the error, then win under the use of JMeter version copy to Linux, so as to ensure that the plug-in and version good consistency

4 , Run complete

5 , speak res.jtl file incoming win under View results

Run JMeter script under Linux

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.