简体   繁体   中英

Is there a Maven dependency for jmeter

I am planning to write the jmeter test in java and I understand that we can copy the jar files from jmeter installations into the build path of my java project. But to make things easier do we have the maven dependecy which can be easily loaded in POM to download all the necessary jmeter files in my java project.

You're right. Using Maven with its dependency mechanism is far better than to " copy the jar files from [...] installations into the build path of my java project " in general.

JMeter is available in Maven's Central Repository .

See also the jmeter-maven-plugin mentioned in aribeiro 's comment.

It is, ie you can plug Apache JMeter Core like:

<dependency>
    <groupId>org.apache.jmeter</groupId>
    <artifactId>ApacheJMeter_core</artifactId>
    <version>2.13</version>
</dependency>

See

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM