Jmeter-2.7 runs in eclipse

Source: Internet
Author: User

There are always problems after several rounds. Here we record:

1. Create a Java project named jmeter in eclipse and select "allow output folders for source Folders" in the next step to prevent the bin directory from being cleared as the output directory during source code import;

2. Choose to import the apache-jmeter-2.7 source code from the file system;

3. Close eclipse and change eclipse. classpath to. classpath under the project directory;

4. Execute ant download_jars in the project directory, or copy all the files in the lib directory of the installed jmeter first;

5. Execute ant package in the project directory;

6. Open eclipse, refresh the lib directory, and reload all the Lib directories to compile and pass;

7. Run as Java application and select "new driver". The first operation fails;

8. Open Run dialog and select "$ {workspace_loc: jmeter/bin}" as the working directory to run jmeter.

Related Article

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.