Skip to content
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

Add examples of API performance test written with Locust #3880

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

atodorov
Copy link
Member

No description provided.

@atodorov atodorov force-pushed the api_performance_test_with_locust branch from d5d4301 to b7f4926 Compare January 16, 2025 20:09
fixes the following warning:
LegacyKeyValueFormat: "ENV key=value" should be used instead of
legacy "ENV key value"
@atodorov atodorov force-pushed the api_performance_test_with_locust branch from b7f4926 to ac8f112 Compare January 16, 2025 20:51
@atodorov atodorov changed the title Add examples of API performacne test written with Locust Add examples of API performance test written with Locust Jan 16, 2025
@atodorov atodorov force-pushed the api_performance_test_with_locust branch from ac8f112 to 1d3f7c7 Compare January 16, 2025 21:23
- a base class which can login into Kiwi TCMS (keeps cookies) and
  provides a helper method for JSON-RPC API calls

- an example test case which GETs the Dashboard page and
  calls the User.filter API method!
@atodorov atodorov force-pushed the api_performance_test_with_locust branch from 1d3f7c7 to 5d11830 Compare January 16, 2025 21:33
- this is modeled after perf-script-ng, see
  https://github.com/kiwitcms/api-scripts/blob/master/perf-script-ng,
  which is the initial performance test case simulating a large test
  matrix and recording hundreds/thousands of test execution results.

  Since its results are already part of the documentation it looks like
  a good place to start!

Refs #721
@atodorov atodorov force-pushed the api_performance_test_with_locust branch from 5d11830 to e89a5a6 Compare January 17, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant