Run the Jmeter3.0 source code under Eclipse

Source: Internet
Author: User

1. Create a project

Preparation: In http://jmeter.apache.org/download_jmeter.cgi download binaries and source two compressed package, the former is release version, the latter is JMeter source code.

1, the new javaproject in Eclipse, named ApacheJmeter3.0, in the next step select "Allowoutputfolders for source folders", to prevent the import of the source code when the bin directory as the output directory to clean out.

After you enter project name, click the Netx button.

After you select the Allow Output folders for source folders option, click the Finish button.

2. import file system source code choose to import apache-jmeter-2.8 source from File system, (ie right apache-jmeter-2.8 click Import, select General-filesystem then import source) Select Project,  Click the Next button.   Select the item click the Select All button and specify the path to the Apache3.0 of the Into folder directory, and then click the Finished button. Copy the contents of the Eclipse.classpath into the. classpath file under the project directory; 3. Copy jar to the Lib directory under Eclipse project

3, in the project directory execution Antdownload_jars, or before the installation of the JMeter (can run JMeter) of the Lib directory files are copied to the project.

4. Additional JAR Packages

Select Project, right-click the project's Properties->java Build path->libraries->add External JARS ...

Select the jar package and click the Open button.

After selecting the Select All button, click the Apply button, and then click OK to attach the jar file successfully. 5. Copy the Jmeter.properties file from the apache-jmeter-3.0 package to copy the Jmeter.properties (apache-jmeter-3.0 non-source folder, but a directly run JMeter folder)

Copy jmeter.properties from the apache-jmeter-3.0 package to the bin directory and copy to/apachejmeter3.0/src/core/org/apache/jmeter/

6. Run Settings

Open the Run->runconfigurations and select the working directory as "${workspace_loc:jmeter/bin}" to run JMeter. Locate the Create Project ApacheJmeter3.0, locate the bin directory, and select it.

After selecting the Bin directory, click the OK button.

Click the Apply button, and then click the Run button.

Click the Proceed button to run the project.

7. Run successfully jmeter successfully.

Reprint: http://blog.csdn.net/chris_111x/article/details/52312750

Run the Jmeter3.0 source code under Eclipse

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.