Jmeter-Maven-Plugin高级应用:Adding additional libraries to the classpath
2016-10-22 11:24
477 查看
Adding additional libraries to the classpath
Pages 12
HomeAdding additional libraries to the classpath
Advanced Configuration
Basic Configuration
Configuring the jvm that the jmeter process runs in
FAQ
Log Levels
Modifying Properties
Proxy Configuration
Remote Server Configuration
Selecting Tests To Run
Test Results File Format
Adding jar's to the /lib/ext directory
You can add any additional Java libraries to JMeter's lib/ext directory by using the
<jmeterExtensions>configuration element. This uses the Eclipse Aether libraries to perform dependency resolution.
+---+ <project> [...] <build> <plugins> <plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.0.3</version> <executions> <execution> <id>jmeter-tests</id> <goals> <goal>jmeter</goal> </goals> </execution> </executions> <configuration> <jmeterExtensions> <artifact>kg.apc:jmeter-plugins:pom:1.3.1</artifact> </jmeterExtensions> </configuration> </plugin> </plugins> </build> [...] </project> +---+
Adding jar's to the /lib/junit directory
You can add any additional Java libraries to JMeter's lib/junit directory by using the<junitLibraries>configuration element. This uses the Eclipse Aether libraries to perform dependency resolution.
+---+ <project> [...] <build> <plugins> <plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.0.3</version> <executions> <execution> <id>jmeter-tests</id> <goals> <goal>jmeter</goal> </goals> </execution> </executions> <configuration> <junitLibraries> <artifact>com.lazerycode.junit:junit-test:1.0.0</artifact> </junitLibraries> </configuration> </plugin> </plugins> </build> [...] </project>
相关文章推荐
- Jmeter-Maven-Plugin高级应用:Selecting Tests To Run
- Jmeter-Maven-Plugin高级应用:Configuring the jvm that the jmeter process runs in
- Jmeter-Maven-Plugin高级应用:Remote Server Configuration
- Jmeter-Maven-Plugin高级应用:Log Levels
- Jmeter-Maven-Plugin高级应用:Proxy Configuration
- Jmeter-Maven-Plugin高级应用:Modifying Properties
- Jmeter-Maven-Plugin高级应用:Test Results File Format-Test Results
- Jmeter-maven-plugin高级应用
- Jmeter-maven-plugin高级应用
- 我的Android进阶之旅------>Android无第三方Jar包的源代报错:The current class path entry belongs to container ...的解决方法
- Jmeter-maven-plugin高级配置之分布式设置
- Jmeter-maven-plugin高级配置之选择测试脚本(转)
- unable to find javac compiler;com.sun.tools.javac.Mainisnotontheclasspath的问题的解决
- The constructor ClassPathXmlApplicationContext(String) refers to the missing type
- MyEclipse maven install 时Unable to load the mojo 'war' in the plugin解决方法
- Following extensions directory contents added to the end of the classpath
- Error Error initializing classpath: Connection timed out: connect (Use --stacktrace to see the full
- Spring3.x错误---- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr
- 解决JettyMavenPlugin: Failed to load class "org.slf4j.impl.StaticLoggerBinder" .