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 ballulimit
- Tweak some limits for Gatlingsysctl
- 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
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Joe Richards nospam-github@disconformity.net