Using Jmeter-maven-plugin to build Jmeter+jenkins-based performance test platform

Source: Internet
Author: User

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

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.