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
In my test, I need to create a RequestStats and invoke RequestStats.log_request(). But sometimes the following error is thrown. Could you please tell me how to get locust version RequestStats.log_request() is available in test case script? Thank you!
AttributeError: 'RequestStats' object has no attribute 'log_request'
Expected behavior
RequestStats.log_request() is available in test case.
Description of issue / feature request
In my test, I need to create a RequestStats and invoke RequestStats.log_request(). But sometimes the following error is thrown. Could you please tell me how to get locust version RequestStats.log_request() is available in test case script? Thank you!
AttributeError: 'RequestStats' object has no attribute 'log_request'
Expected behavior
RequestStats.log_request() is available in test case.
Actual behavior
RequestStats.log_request() is not available.
Environment settings (for bug reports)
Steps to reproduce (for bug reports)
TBD - example code appreciated
The text was updated successfully, but these errors were encountered: