https://github.com/bigbitbus/jmeter-formula
Salt formula for jmeter
https://github.com/bigbitbus/jmeter-formula
Last synced: 11 months ago
JSON representation
Salt formula for jmeter
- Host: GitHub
- URL: https://github.com/bigbitbus/jmeter-formula
- Owner: bigbitbus
- Created: 2018-05-18T20:23:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T14:11:09.000Z (about 8 years ago)
- Last Synced: 2025-03-02T11:25:35.701Z (over 1 year ago)
- Language: SaltStack
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Synopsis
[Jmeter](https://jmeter.apache.org/) is a load generation tool. This [salt formula](https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html) can be used to install it and execute a jmx test file on jmeter.
# Usage Example
There are 2 states:
Use the _jmeter.install_ state to install Java, Jmeter, and the Mysql JDBC driver required into the _jmeter/lib_ directory (to be expanded to generic plugins in the future).
```
salt minion state.apply jmeter.install
```
This will pick up the file specified as part of the pillar at "jmeter:execute:lookup:jmx_template_file"; apply a jinja template (if needed), and run jmeter on that file. CLI arguments can be specified via the "jmeter:execute:lookup:cmd_cli_args" pillar. Look at the other options in the jmeter-formula/jmeter/map.jinja file.
```
salt minion state.apply jmeter.execute
```