Plugin for Artillery.IO that records response data into InfluxDB.
npm install -g artillery
npm install artillery-plugin-influxdb
influxdbPlugin config to your "
hello.json" Artillery script
artillery run hello.json
This will cause every latency to be published to the given InfluxDB instance.
Plug-In Configuration Options
||yes||none||Name of the test being performed.|
||no||latency||Measurement name used when writing latency to DynamoDB.|
||no||clientErrors||Errors raised by the Artillery client during the test.|
||no||UUID||Identifier used to associate individual test results with a given test run. If no
||no||none||Object map of static name-value pairs containing tags which are written with every measurement.|
||yes||none||Network host name of the InfluxDB to which results should be written. No protocol or port, just the host name.|
||yes*||none||User account to use when logging results.|
||yes*||none||Password to use when logging results.|
||yes||none||Influx Database name into which the results are written.|
||no||none||Set to true to prevent plugin from generating/logging testRunId UUID's automatically.|
||no||none||Send data regarding matches to InfluxDB with column name "matches"|
*see notes on using environment variables for these values below.
Using environment variables to store credentials
The environment variables
INFLUX_PASSWORD may be set instead of
passing 'username' and/or 'password' properties in the config file.
For more information, see: