-
Notifications
You must be signed in to change notification settings - Fork 15
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
Load testing script for process-zip 🤐 #3032
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3032 +/- ##
==========================================
- Coverage 89.69% 85.67% -4.02%
==========================================
Files 15 25 +10
Lines 873 1424 +551
==========================================
+ Hits 783 1220 +437
- Misses 90 204 +114
Flags with carried forward coverage won't be shown. Click here to find out more. |
with open(file, "rb") as opened_file: | ||
data = { | ||
"content_type": "application/zip", | ||
"config_file_name": "sample-orchestration-s3-config.json", |
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.
Could we change this config name to be possibly non-integrated-extended
to match more closely what people will actually be using?
"data_type": "zip", | ||
"message_type": "ecr", | ||
} | ||
# print(f"Uploading {file}") |
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.
# print(f"Uploading {file}") |
I was initially reviewing this but have been unable to get the load test to run without all requests resulting in errors, despite Alis and I running it the same way. Can someone else try running it? |
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.
Locust spins up. I think it might be related to https://streamline.dibbs.cloud/ not being available.
PULL REQUEST
Summary
Adds a load-testing script
Related Issue
Resolves #3031
Acceptance Criteria
Please copy the acceptance criteria from your ticket and paste it here for your reviewer(s)
Additional Information
This works for our AWS install but should be treated mainly as a POC; it can be expanded in the future.
If anybody wants to test this, please reach out, and I will help with the setup.
Checklist
Testing Instructions
cd containers/ecr-viewer/seed-scripts
export LOAD_TESTING_URL=https://streamline.dibbs.cloud/
docker compose -f docker-compose-load.yml up --build
http://0.0.0.0:8089/
in browerSTART