Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Contribute load testing and mock api #173

Merged
merged 34 commits into from
Mar 17, 2020

Conversation

EliiseS
Copy link
Collaborator

@EliiseS EliiseS commented Mar 5, 2020

This is a PR to contribute back the load testing framework built by our dev crew (@stuartleeks @lawrencegripper @storey247 @martinpeck @damoodamoo @bart-jansen) at Microsoft.

PR contains:

  • Locust load testing framework + load test scenarios for the Databricks Operator
  • Databrick Mock API used to run the load tests against
  • Install python and initalize virutal enviroment in dev container
  • Load testing and MockAPI dashboards in grafana
  • Make commands to:
    • test and run Locust, mockAP
    • run load tests in a kind cluster
  • Docs for MockAPI and Locust usage
  • Go script to verify load tests have run successfully
  • Load tests added to the build pipeline

Possible future improvements:

  • Use the mockAPI for part of the integration tests
  • Avoid spinning up the kind cluster twice for integration tests and load tests
  • Display load test result charts in the PR after completion

@EliiseS EliiseS force-pushed the es/contribute-load-testing-and-mock-api branch 6 times, most recently from 816ffee to 8736e95 Compare March 5, 2020 21:50
@EliiseS EliiseS force-pushed the es/contribute-load-testing-and-mock-api branch 2 times, most recently from bc1dfc7 to dbc092c Compare March 8, 2020 20:00
@Azadehkhojandi Azadehkhojandi self-requested a review March 9, 2020 02:52
@EliiseS
Copy link
Collaborator Author

EliiseS commented Mar 16, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@Azadehkhojandi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Azadehkhojandi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@Azadehkhojandi Azadehkhojandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, thank you :)

@EliiseS EliiseS merged commit 265a0a8 into Azure:master Mar 17, 2020
@EliiseS EliiseS deleted the es/contribute-load-testing-and-mock-api branch March 17, 2020 12:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants