-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Download Report in multi-worker setup #1610
Comments
@mezhaka Sorry, that should be my problem. I turned off the statistics in worker mode because of a previous issue (#1531 (comment)), which may have caused this. I'll try to optimize it by including the worker's statistics when exporting the report. It may take some time.Then I'll make a new PR. |
I'm getting ready to release 1.3.2. Any chance you'll have time to fix it this soon? :) |
@cyberw locustfile.py: from locust import HttpUser, between, task
class WebsiteUser(HttpUser):
wait_time = between(1, 2)
@task
def index(self):
self.client.get("/")
@task
def xls(self):
self.client.get("/xls/") Start a master and two workers: Then I go to @mezhaka |
I am using docker-compose to run tests. I can reproduce it. I can send
you my setup later today when I get to the keyboard.
…On Tue, Nov 3, 2020, 09:06 taojy123 ***@***.***> wrote:
@cyberw <https://github.com/cyberw>
Sorry, I was quite busy the other day.
I tried to reproduce the problem on my computer today, but I found that
the export report function is available in multi-work mode.
The steps I followed are as follows.
code
Start a master and two workers
locust -f locustfile.py --master
locust -f locustfile.py --worker
locust -f locustfile.py --worker
Then I go to http://localhost:8089 and see a button to download the
report.
Click to see statistics
@mezhaka <https://github.com/mezhaka>
May I ask what your procedure is?
Translated with www.DeepL.com/Translator (free version)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1610 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI7HYOODAVVI5X6KZECQVLSN62X5ANCNFSM4TCM4X4A>
.
|
I see! The docker image with See this page on DockerHub: https://hub.docker.com/r/locustio/locust/tags You should modify your docker-compose.yml like this: version: '3'
services:
master:
image: locustio/locust:master
ports:
- "8089:8089"
volumes:
- ./:/mnt/locust
command: -f /mnt/locust/locustfile.py --master -H http://master:8089
worker:
image: locustio/locust:master
volumes:
- ./:/mnt/locust
command: -f /mnt/locust/locustfile.py --worker --master-host master (add a tag name on image) |
I've reached out to @heyman to see if he can give me the correct permissions to fix the |
I have fixed the build process so that any tagged commit will build locustio/locust:latest (and tagged 1.3.2). Is this fixed now or is there still a problem? |
@mezhaka Please try again |
Is your feature request related to a problem? Please describe.
I am frustrated that there's no "Download Report" in the multi-worker test, so I could see the summary of the test in the mult-worker environment.
Describe the solution you'd like
I'd like to have the "Download Report" link available in the multi-worker test. The report should aggregate the data from the workers.
The text was updated successfully, but these errors were encountered: