Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

AlbanAndrieu/ansible-jmeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nabla roles/alban_andrieu_jmeter

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Travis CI Branch Donate Ansible Galaxy

Ensures that jmeter is properly installed and configured

Installation

This role requires at least Ansible. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.jmeter

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.jmeter

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-jmeter.git

Documentation

More information about alban.andrieu.jmeter can be found in the TODO official alban.andrieu.jmeter documentation.

Role variables

List of default variables available in the inventory:

jmeter_enabled: yes                       # Enable module

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
jmeter_owner: "{{ user }}"
jmeter_group: "{{ jmeter_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
jmeter_owner_home: "{{ home }}"
#jmeter_base_dir: "/usr/share/jmeter"
jmeter_base_dir: "/usr/local/jmeter"
#jmeter_home_dir: "{{ home }}/.jmeter"
jmeter_configuration: "{{ jmeter_base_dir }}/{{ jmeter_name }}/bin/jmeter.properties"

jmeter_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"

jmeter_version: "3.0"

jmeter_name: "apache-jmeter-{{ jmeter_version }}"
jmeter_archive: "{{ jmeter_name }}.zip"
#jmeter_url: "http://mirrors.ircam.fr/pub/apache/jmeter/binaries/{{ jmeter_archive }}"
jmeter_url: "https://archive.apache.org/dist/jmeter/binaries/{{ jmeter_archive }}"

jmeter_plugins_version: "1.3.1"

jmeter_plugins_standard_enabled: yes
jmeter_plugins_standard_archive: "JMeterPlugins-Standard-{{ jmeter_plugins_version }}.zip"
jmeter_plugins_standard_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_plugins_standard_archive }}"

jmeter_plugins_extras_enabled: yes
jmeter_plugins_extras_archive: "JMeterPlugins-Extras-{{ jmeter_plugins_version }}.zip"
jmeter_plugins_extras_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_plugins_extras_archive }}"

jmeter_plugins_extraslibs_enabled: yes
jmeter_plugins_extraslibs_archive: "JMeterPlugins-ExtrasLibs-{{ jmeter_plugins_version }}.zip"
jmeter_plugins_extraslibs_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_plugins_extraslibs_archive }}"

jmeter_plugins_webdriver_enabled: no
jmeter_plugins_webdriver_archive: "JMeterPlugins-WebDriver-{{ jmeter_plugins_version }}.zip"
jmeter_plugins_webdriver_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_plugins_webdriver_archive }}"

jmeter_plugins_hadoop_enabled: no
jmeter_plugins_hadoop_archive: "JMeterPlugins-Hadoop-{{ jmeter_plugins_version }}.zip"
jmeter_plugins_hadoop_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_plugins_hadoop_archive }}"

jmeter_serveragent_version: "2.2.1"

jmeter_serveragent_base_dir: "/usr/local/jmeter-agent"
jmeter_serveragent_enabled: no
jmeter_serveragent_archive: "ServerAgent-{{ jmeter_serveragent_version }}.zip"
jmeter_serveragent_url: "http://jmeter-plugins.org/downloads/file/{{ jmeter_serveragent_archive }}"

Detailed usage guide

Describe how to use in more detail...

Testing

$ ansible-galaxy install alban.andrieu.jmeter
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_jmeter role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin