You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Testing / CI/CD] Ability to automate scale testing with a mock server and test different datasets, loadgen, etc. and run it as a part of CI/CD (kubernetes-sigs#274) (kubernetes-sigs#274)
## Summary
This introduces an e2e testing using a mock server to enable automated
scale testing as part of our CI/CD pipeline.
Key changes include:
* Mock Client: Mock client is used to simulate the behavior of a real
API client. It has a configurable latency to simulate different response
times.
* E2e Test case: A test case - `basic_mock_client_benchmark` is added.
This test runs a benchmark with the mock client, generates reports, and
asserts key metrics like achieved request rate and success count.
* E2e Test Utility: A `run_benchmark_minimal` function is created to
simplify the process of running benchmarks in tests. It handles
configuration, execution, and result parsing.
* CI/CD Integration: updated with a new `pdm run test:e2e` command to
easily run the end-to-end tests in our CI/CD workflow or Dev Env.
Note: there are few more commits to add test to CI workflow
0 commit comments