Forge Home

jmeter

Module for JMeter configuration

42,370 downloads

3,740 latest version

Version information

  • 0.4.2 (latest)
  • 0.4.1
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.6
  • 0.2.5
  • 0.2.4
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
  • 0.0.4
  • 0.0.3
  • 0.0.2
released Oct 15th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.1 < 7.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dduvnjak-jmeter', '0.4.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dduvnjak-jmeter
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dduvnjak-jmeter --version 0.4.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

dduvnjak/jmeter — version 0.4.2 Oct 15th 2020

Puppet JMeter

Build Status Puppet Forge Puppet Forge - downloads

This class installs JMeter from apache.org. If you set the enable_server parameter, a service will be configured and enabled, and JMeter will be started in server mode listening on the default port.

jmeter can optionally install the plugin manager, which allows you to install additional plugins.

The init script is based on the one available at https://gist.github.com/2830209.

Note: If you are using 3.x, you will need to have at least Java 8 installed. If the version is not set, the module will try to choose an appropriate version for you.

Requirements

This module requires Puppet 4.7.1 or higher, as well as the stdlib and puppet-archive modules. On systems that use systemd, (Ubuntu >= 16.04, CentOS >= 7), camptocamp/systemd is a soft dependency.

Basic usage

Install JMeter:

class { 'jmeter': }

Install JMeter v3.x, plugin manager (JMeterPlugins, and enable the most recent version of plugins 'foo' and 'bar'.

class { 'jmeter':
  jmeter_version         => '3.3',
  plugin_manager_install => true,
  plugins                => {
    'foo' => { ensure => present },
    'bar' => { ensure => present },
  }
}

Install JMeter server using the default host-only IP address 0.0.0.0:

class { 'jmeter':
  enable_server => true,
}

Install JMeter server using a custom host-only IP address:

class { 'jmeter':
  enable_server => true,
  bind_ip       => '10.33.33.42',
}

Install a plugin (if not using the jmeter::plugins example above):

jmeter_plugin { 'foo':
  ensure => present,
}