-
Notifications
You must be signed in to change notification settings - Fork 0
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
slow_cooker version load test script #56
base: master
Are you sure you want to change the base?
Conversation
id = uuid.uuid1() | ||
response = requests.post( | ||
url=urljoin(args[0][0], | ||
"/slowcooker/benchmark"), |
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 wonder if we can let slow cooker support sending multiple scenarios, and allow slow_cooker to choose internally how each scenario should be ran and with what weight?
url=urljoin(args[0][0], | ||
"/slowcooker/benchmark"), | ||
json={ | ||
"runId": id.__str__(), |
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.
runId is now part of the URL instead
@@ -0,0 +1,198 @@ | |||
"""Slow cooker load testing.""" |
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.
How is this file being used with the demo?
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 wrap this file into Docker, and it can launch by tech-demo-ui (i've send a PR to tech-demo-ui).
or run locally by this command:
python slow_cooker.py -c hi_lo_config.json --slow-cooker-host http://<endpoint.elb.aws.slow-cooker>:<port> --host http://<endpoint.goddd.k8s.dn>:<port>
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.
Where can we find this docker image? Can you add the Dockerfile into the images folder in tech-demo?
…w_cooker.py, change image repo in deploy-k8s.json extract slow-cooker-host and target-host to command argument move slow_cooker benchmark id to path parameter
@@ -1,12 +1,9 @@ | |||
{ | |||
"userId": "william", |
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.
Please remove this field.
No description provided.