1. Custom Jar Package Introduction
2.pom Advanced Configuration
3.git Project Upload
4. Using Nmon to monitor resources
5.Jenkins Parametric transfer
Issue: Jmetermavenplugin+jenkins Integration performs Java interface class performance testing,
1. First customize the Java interface test class, debugging through the export of a separate test class jar package, and copy the jar package to JMeter. /lib/ext directory. (Note copy other dependent jar packages at the same time)
2. Write the Java Interface Test JMeter script and select the corresponding Java test class when you set up the Java request.
3. There are two ways to run the test:
A. A kind of direct run through JMeter, this class has been tested without problems, or configuration Jmeter.properties file search_paths properties to pour the custom test class jar package, validation passed.
B. Run through Jmeter-maven-plugin, create the Src/test/jmeter directory in idea, copy the Java Test class script and *.properties files from the Jmeter/bin directory to this directory, By configuring Pom.xml to introduce the MAVEN warehouse jar package, you can pour the custom test class jar package by configuring the Jmeter.properties file Search_paths property. Run the script through the Jmetermavenplugin plugin. Tip The corresponding Java custom class could not be found.
Look at the compiled directory and discover that there are no custom jar packages in the EXT directory.
Jenkins+shell+performance-plugin+ant
Jenkins Host:
JMeter Execution Machine:
1. Organization test set scheduling and execution: Pom. XML and project directory structure control
2. Support Dubbo and HTTP interface: HTTP interface is supported, Dubbo introduced JAR package failed
3.Jenkins mailbox notifications: in Jenkins Configuration
4. Report html
5. Resource Monitoring Nmon
6. Parametric construction
7.git Project Upload
Scenario One: Jenkins,jmeter-maven-plugin, Performance-plugin,nmon,shell
Scenario Two: Jenkins,shell,performance-plugin,jmeter,ant,nmon
Using Jmeter-maven-plugin to build Jmeter+jenkins-based performance test platform