Forrest logo
back to context overview

locust

List of commands for locust:

  • locust:tldr:4c299 locust: Run test without web interface, spawning 1 user a second until there are 100 users.
    $ locust --no-web --clients=${100} --hatch-rate=${1} --host=${http:--example-com}
    try on your machine
    explain this command
  • locust:tldr:56143 locust: Connect locust slave to master on a different machine.
    $ locust --slave --master-host=${master_hostname} --host=${http:--example-com}
    try on your machine
    explain this command
  • locust:tldr:a1ba3 locust: Start locust in master mode.
    $ locust --master --host=${http:--example-com}
    try on your machine
    explain this command
  • locust:tldr:bc818 locust: Connect locust slave to master.
    $ locust --slave --host=${http:--example-com}
    try on your machine
    explain this command
  • locust:tldr:d7a40 locust: Use a different test file.
    $ locust --locustfile=${test_file-py} --host=${http:--example-com}
    try on your machine
    explain this command
  • locust:tldr:f2808 locust: Load-test "example.com" with web interface using locustfile.py.
    $ locust --host=${http:--example-com}
    try on your machine
    explain this command
back to context overview