Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
root@26a6a1c758b4:/# locust -f ./locustfile.py --host=http://10.0.5.1:8080 --csv=foobar --no-web -c 2 -r 1 -n 5

There's also an ability to insert the host into the locust file, Use the same file and edit the section with the below:


class WebsiteUser(HttpLocust):
    task_set = UserBehavior
    host = "http://docs.locust.io/en/latest/"