You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deprecated request_success() and request_failure() are already removed in locust.event.Events.request upstream, causing the following error:
File "/Users/htie/coding/redis-load-test/Scripts/redis_get_set.py", line 88, in get_time self.client.query(self.key) File "/Users/htie/coding/redis-load-test/Scripts/redis_get_set.py", line 50, in query events.request_success.fire(
The deprecated
request_success()
andrequest_failure()
are already removed in locust.event.Events.request upstream, causing the following error:The fix is to simply relace them with
request()
method name, per:https://stackoverflow.com/questions/76016708/locust-events-object-has-no-attribute-request-success
Verified working with load tests, after the fix, the errors are gone, and all graphs are displayed properly.
The text was updated successfully, but these errors were encountered: