slow_cooker version load test script#56
slow_cooker version load test script#56aasssddd wants to merge 2 commits intoHyperpilotio:masterfrom aasssddd:slow_cooker-dev
Conversation
| id = uuid.uuid1() | ||
| response = requests.post( | ||
| url=urljoin(args[0][0], | ||
| "/slowcooker/benchmark"), |
There was a problem hiding this comment.
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.
runId is now part of the URL instead
| @@ -0,0 +1,198 @@ | |||
| """Slow cooker load testing.""" | |||
There was a problem hiding this comment.
How is this file being used with the demo?
There was a problem hiding this comment.
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.
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,11 +1,8 @@ | |||
| { | |||
| "userId": "william", | |||
No description provided.