Skip to content

Instantly share code, notes, and snippets.

Created January 8, 2013 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/977b5f9b93fab7335348 to your computer and use it in GitHub Desktop.
Save anonymous/977b5f9b93fab7335348 to your computer and use it in GitHub Desktop.
Locust 0.6.1 failure
ubuntu@ip-10-32-0-35:~/google$ locust -f locustfile.py -H google.se
/usr/local/lib/python2.7/dist-packages/locust/rpc/__init__.py:7: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. This will not affect you if your not running locust in distributed mode, but if you are, we recommend you to install the python packages: pyzmq and gevent-zeromq
warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. This will not affect you if your not running locust in distributed mode, but if you are, we recommend you to install the python packages: pyzmq and gevent-zeromq")
[2013-01-08 15:22:28,135] INFO/locust.main: Starting web monitor on port 8089
[2013-01-08 15:22:28,135] INFO/locust.main: Starting Locust 0.6.1
[2013-01-08 15:22:38,877] INFO/locust.runners: Hatching and swarming 1 clients at the rate 1 clients/s...
[2013-01-08 15:22:38,878] ERROR/stderr: Traceback (most recent call last):
[2013-01-08 15:22:38,879] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
[2013-01-08 15:22:38,879] ERROR/stderr: result = self._run(*self.args, **self.kwargs)
[2013-01-08 15:22:38,879] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/runners.py", line 113, in start_locust
[2013-01-08 15:22:38,879] ERROR/stderr: locust().run()
[2013-01-08 15:22:38,879] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/core.py", line 102, in run
[2013-01-08 15:22:38,880] ERROR/stderr: self.task_set(self).run()
[2013-01-08 15:22:38,880] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/core.py", line 232, in run
[2013-01-08 15:22:38,880] ERROR/stderr: self.on_start()
[2013-01-08 15:22:38,880] ERROR/stderr: File "/home/ubuntu/google/locustfile.py", line 7, in on_start
[2013-01-08 15:22:38,880] ERROR/stderr: self.client.get("/")
[2013-01-08 15:22:38,880] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 254, in get
[2013-01-08 15:22:38,881] ERROR/stderr: return self.request('get', url, **kwargs)
[2013-01-08 15:22:38,881] ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/clients.py", line 124, in request
[2013-01-08 15:22:38,881] ERROR/stderr: request_meta["response_time"] = int((time.time() - request_meta["start_time"]) * 1000)
[2013-01-08 15:22:38,881] ERROR/stderr: KeyError: 'start_time'
[2013-01-08 15:22:38,881] ERROR/stderr: <Greenlet at 0x1675910: start_locust(<class 'locustfile.WebsiteUser'>)> failed with KeyError
[2013-01-08 15:22:39,878] INFO/locust.runners: All locusts hatched: WebsiteUser: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment