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

Feature: Progress notifications for launch #133

Open
nvborisenko opened this issue Mar 26, 2023 · 1 comment
Open

Feature: Progress notifications for launch #133

nvborisenko opened this issue Mar 26, 2023 · 1 comment

Comments

@nvborisenko
Copy link
Member

nvborisenko commented Mar 26, 2023

When agent calls launcher.Sync() it would be nice user sees the progress of sending a report to the server.

var launch = new(...);
launch.CreateManyTests(...); // scheduling a lot of http requests

launch.ProgressCompletion.Changed += (value) => Console.Write($"Progress: {value}%");

launch.Sync(); // waiting all http requests to be sent

Thus user will be able to understand the actual state of sending the report. Actual naming is a subject of discussion. Progress (in percents) should be based on http requests, not on count of tests.

Blocked by: #131

@nvborisenko
Copy link
Member Author

It's also be nice if agent will have a possibility to specify time threshold like "I would like to get notifications not so often, no more often than 1 event per 2 minutes".

It will be strange if agent will output:

1%
2%
...

or even like this, if overall reporting takes 1 second.

10%
20%
...

@nvborisenko nvborisenko transferred this issue from reportportal/commons-net Feb 12, 2024
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

No branches or pull requests

1 participant