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

Latest commit

 

History

History
42 lines (38 loc) · 1.02 KB

README.md

File metadata and controls

42 lines (38 loc) · 1.02 KB

Example usage:

environment variables:

  • LOCUST_DURATION
  • LOCUST_HATCH_RATE
  • LOCUST_INFLUXDB_SERVER
  • LOCUST_INFLUXDB_PORT
  • LOCUST_INFLUXDB_USER
  • LOCUST_INFLUXDB_PASSWORD
  • LOCUST_INFLUXDB_DB
  • LOCUST_LOAD_TYPE
  • LOCUST_METRICS_EXPORT
  • LOCUST_MEASUREMENT_NAME
  • LOCUST_MEASUREMENT_DESCRIPTION
  • LOCUST_STATSD_HOST
  • LOCUST_STATSD_PORT
  • LOCUST_SPAWN_WAIT_MEAN
  • LOCUST_SPAWN_WAIT_STD
  • LOCUST_USERS
  • LOCUST_USER_MEAN
  • LOCUST_USER_STD
  • LOCUST_WAIT_MEAN
  • LOCUST_WAIT_STD
$ export LOCUST_STATSD_HOST=172.17.0.7 \
    LOCUST_DURATION=360 \
    LOCUST_USERS=10 \
    LOCUST_WAIT_MEAN=10 \
    LOCUST_WAIT_STD=4 \
    LOCUST_METRICS_EXPORT="measurements" \
    LOCUST_MEASUREMENT_NAME="measurement" \
    LOCUST_MEASUREMENT_DESCRIPTION="linear increase" \
    LOCUST_INFLUXDB_SERVER="influxdb.local" \
    LOCUST_INFLUXDB_PORT="8086" \
    LOCUST_INFLUXDB_USER="influxdb" \
    LOCUST_INFLUXDB_PASSWORD="rewtrewt" \
    LOCUST_INFLUXDB_DB="metrics"
$ locust -H http://sharelatex.local