-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add ping performance test #2337
Add ping performance test #2337
Conversation
check for avg response below 200ms
Codecov Report
@@ Coverage Diff @@
## master #2337 +/- ##
=========================================
- Coverage 63.4% 50.5% -13.0%
=========================================
Files 485 277 -208
Lines 18104 10725 -7379
Branches 1740 943 -797
=========================================
- Hits 11485 5418 -6067
+ Misses 6286 5215 -1071
+ Partials 333 92 -241
Flags with carried forward coverage won't be shown. Click here to find out more.
|
tests/performance/README.md
Outdated
## Usage in CI (headless mode) | ||
|
||
```console | ||
# builds the distributed locust worker/master image | ||
make build | ||
# runs the test defined by locust_files/platform_ping_test.py going to http://127.0.0.1:8089 allows to see the UI | ||
make test target=platform_ping_test.py | ||
# removes the containers | ||
make down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see the difference with the above # Usage
paragraph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make up
vs make test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above is up and below is test
tests/performance/README.md
Outdated
## Usage in CI (headless mode) | ||
|
||
```console | ||
# builds the distributed locust worker/master image | ||
make build | ||
# runs the test defined by locust_files/platform_ping_test.py going to http://127.0.0.1:8089 allows to see the UI | ||
make test target=platform_ping_test.py | ||
# removes the containers | ||
make down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above is up and below is test
What do these changes do?
the test simulates 100 users calling 10x the root of the osparc platform and 1x the /v0/health endpoint for 1 minute.
the test fails if the average response time is above 200ms and if the failure rate is above 1%
my current statistics
Related issue/s
How to test
Checklist