简体   繁体   中英

Jmeter + Maven: how to add a jar file to JMeter /lib/ext folder

I have a Jmeter-Maven project and I'd like to put a modified jar file in "/lib/ext" folder.

I've added it to “ /src/test/jmeter/lib/ext ”, but seems it doesn't work.

Do I need to add dependencies to my POM file or so?

Any suggestions?

Thanks in advance for answers!

You can add libraries to "lib/ext" folder as follows:

<configuration>
    <jmeterExtensions>
        <artifact>kg.apc:jmeter-plugins-casutg:2.4</artifact>
    </jmeterExtensions>
</configuration>

Replace kg.apc:jmeter-plugins-casutg:2.4 with your own artifact in form of:

groupId:artifactId:version

References:

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