Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fire requests through Environment.events #1982

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Fire requests through Environment.events #1982

merged 1 commit into from
Jan 26, 2022

Conversation

BonelessPi
Copy link
Contributor

Example Grpc client not reporting stats when Locust is running as a library.
Fixed by firing requests through Environment.events.request.fire instead of locust.events.request.fire

Related Issue: #1969

Example Grpc client not reporting stats when Locust is running as a library.
Fixed by firing requests through Environment.events.request.fire instead of locust.events.request.fire

Related Issue: #1969
@cyberw
Copy link
Collaborator

cyberw commented Jan 26, 2022

Thx! It is possible there is something more at play here, because I think using the imported events should work too, but it is great to not have a broken example at least :)

@cyberw cyberw merged commit f4c2541 into locustio:master Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants