Eclipse Configuration JMeter

Source: Internet
Author: User

Project:jmeter-newdriver

Main:org.apache.jmeter.NewDriver

VM arguments:

-djmeter.home=${workspace_loc:jmeter-2.13}


Lib Directory Creation API folder

Copy all jars and directories under release release

Copy release under bin all properties to bin directory, src directory


Download bcmail-jdk14-152 +

bcmail-jdk15on-152 and other bags.



Compile steps:

1 , in Apach official website Download Source:

http://jmeter.apache.org/download_jmeter.cgi

apache-jmeter-2.11_src.tgz (try to download the latest version), unzip it after downloading

2 , the machine according to Ant :

: http://ant.apache.org

Ant Installation Method:

Http://www.cnblogs.com/yuzhongwusan/archive/2013/03/26/2982411.html

3 , the Build.xml the understanding and introduction of the document:

Http://zhidao.baidu.com/link?url=VG2fEkNGFv8aasF_f6crokn6CD7FnyDuv574eIsC6xoQC1QAWKQ-_2rJbNwKLXht9j91CxT33veXy3B9dwLDlq

 

4 , open Span style= "Font-family:verdana, Sans-serif" >dos jmeter source directory, enter" ant download_jars" ps : If your network has a proxy, The connection Time Out error, Solution: http://liu-hliang.iteye.com/blog/456664 )

when it appears "Build Successful" of the text, is the success of the warehouse inside the Jar all the bags are taken down.

5 , compiling JMeter :

First Compile: ant [Install]

re-compiling: Ant clean Install

There are other commands that you can refer to Build.xml in Description section.

Build When you are finished, you will appear successful the Tips

if it appears halfway: " [Options] not with -source 1.6 set the Boot class path together "

Workaround: Add Build.xml , the compiled Java version changed to 1.7


6, after the compilation succeeds, thebinfile, open theJmeter.bat"file to seeJMeterthe interface.
7and WillJMetermoved toEclipsein

1 ) New Java Project ;

2 ) using Import , select File System , the successful compilation of the above JMeter The documents of the project are directed in Eclipse development environment.

< Span style= "Font-family:verdana, Sans-serif" >3 ) Turn off eclipse jmeter Bring your own eclipse.classpath copy to java project .classpath file, click Save.

4 ) re-open Eclipse

8 , in Eclipse in Build (build) JMeter Project

1) Select New ant-builder

2 ) set some parameters.

3) toBuild.xmlfile toAnt_build 4)Buildafter success, inbinfolder under theJmeter.batThe file can be executed.


Eclipse Configuration 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.