dknaus/jmeter-gradle-plugin


Gradle plugin to run JMeter tests http://jmeter.foragerr.net

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.dknaus:jmeter-gradle-plugin:1.0.5'
	}
	dependencies {
		implementation("com.github.dknaus:jmeter-gradle-plugin:1.0.5")
	}
	<dependency>
	    <groupId>com.github.dknaus</groupId>
	    <artifactId>jmeter-gradle-plugin</artifactId>
	    <version>1.0.5</version>
	</dependency>

                            
    libraryDependencies += "com.github.dknaus" % "jmeter-gradle-plugin" % "1.0.5"
        
        

                            
    :dependencies [[com.github.dknaus/jmeter-gradle-plugin "1.0.5"]]
        
        

Readme


##Gradle plugin to execute JMeter tests. Build Status

For usage see: http://jmeter.foragerr.net/
or wiki

##News 4/21/2016 Version 1.0.5 released

  • added support for minHeapSize #56
  • added additional jmeter-plugin and webdriver jars to classpath #57
  • Fixed #55 issue with jmSystemPropertiesFiles
  • Reformatted a few code files

4/2/2016

  • Version 1.0.4 released
  • #47 and #49 Fixed. These are related issues that cause a test failure when using xpath extractor
  • Gradle wrapper upgraded to 2.11
  • #41 Fixed
  • #42 Fixed

12/12/2015

  • Version 1.0.3 released
  • #39 support for commandline option -q added
  • #40 Fixed, jmeter GUI now launches with testfile loaded when available

11/15/2015

  • Stable version 1.0.2 released.
  • Added out of box support for jp@gc plugins for both test execution and gui mode

11/11/2015

  • version 1.0.1 released.
  • Added support for passing -D and -XX type arguments to the JMeter jvm. See here.

11/6/2015

  • Stable version 1.0 released.
  • This plugin is now also available from the Gradle plugins page
  • With gradle (ver>2.1) the plugin can be used with this shorthand:

      plugins {
        id "net.foragerr.jmeter" version "1.0-2.13"
      }
    

##Attribution This project started as a hard fork of kulya/jmeter-gradle-plugin. Besides defect fixes and feature enhancements, most of the original codebase has been re-written since.

If you are a user of the older plugin see here for easy migration to this version of the plugin. If you're a developer familiar with the older plugin, see here for notes about major changes.