/chef-cookbook-gatling

Chef Cookbook to install the Gatling Stress Tool for performance testing

Primary LanguageHTML

gatling Cookbook

This cookbook install the Gatling Stress Tool for performance testing.

Requirements

This cookbook was written on Amazon Linux so YMMV with other operating systems. Feel free to submit me a pull request. :)

This cookbook depends on the folling cookbooks:

  • java - Java is required to run Gatling.
  • ark - This is used to install the Gatling tar ball
  • ulimit - Tweak some limits for Gatling
  • sysctl - Tweak some kernel params for Gatling

Attributes

gatling::default

Key Type Description Default
['gatling']['user'] String Gatling user gatling
['gatling']['group'] String Gatling group gatling
['gatling']['install_prefix'] String Gatling install prefix. A Gatling versioned subdir will be created, along with a symling that is added to the path /usr/local
['gatling']['download_url'] String Gatling tarball package download URL. Set this attribute yourself by getting a URL here: http://gatling-tool.org/ NONE
['gatling']['version'] String Gatling version 2.0.0-M3a

Usage

gatling::default

Set the download_url attribute.

Just include gatling in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[gatling]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Joe Richards nospam-github@disconformity.net