[2023-12-14 17:03:50,074] bash-Latitude-E6530/INFO/locust.main: Starting web interface at http://0.0.0.0:8089
[2023-12-14 17:03:50,091] bash-Latitude-E6530/INFO/locust.main: Starting Locust 2.20.0
[2023-12-14 17:04:06,364] bash-Latitude-E6530/INFO/locust.runners: Ramping to 1 users at a rate of 1.00 per second
[2023-12-14 17:04:06,366] bash-Latitude-E6530/INFO/locust.runners: All users spawned: {“WebsiteUser”: 1} (1 total users)
[2023-12-14 17:04:06,374] bash-Latitude-E6530/ERROR/locust.user.users: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/requests/models.py”, line 971, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/lib/python3.10/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.10/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.10/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/locust/user/users.py”, line 149, in run
self.on_start()
File “/home/bash/Documents/django_projects/storefront3/locustfiles/browse_products.py”, line 37, in on_start
result = response.json()
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/requests/models.py”, line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/requests/models.py”, line 971, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/lib/python3.10/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.10/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.10/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “src/gevent/greenlet.py”, line 908, in gevent._gevent_cgreenlet.Greenlet.run
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/locust/user/users.py”, line 187, in run_user
user.run()
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/locust/user/users.py”, line 149, in run
self.on_start()
File “/home/bash/Documents/django_projects/storefront3/locustfiles/browse_products.py”, line 37, in on_start
result = response.json()
File “/home/bash/.local/share/virtualenvs/storefront3-LpDWEFPQ/lib/python3.10/site-packages/requests/models.py”, line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-12-14T16:04:06Z <Greenlet at 0x7fa39039fc40: run_user(<browse_products.WebsiteUser object at 0x7fa39030d)> failed with JSONDecodeError