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

feat: add load test #311

Closed
wants to merge 1 commit into from
Closed

Conversation

JonasKellerer
Copy link
Contributor

@JonasKellerer JonasKellerer commented Feb 29, 2024

resolves #298

Summary

This introduces a new python script which runs the k6 load test. Running python3 loadtest.py --help will show the program arguments.

PR Checklist

  • All necessary documentation has been adapted or there is an issue to do so.
  • The implemented feature is covered by an appropriate test.

@JonasKellerer
Copy link
Contributor Author

JonasKellerer commented Feb 29, 2024

I have just written this draft PR. Currently the script only prints the output at the end of the run. We can think about using this also in the CI?

@JonasKellerer
Copy link
Contributor Author

And the documentation is missing here. But maybe we discuss first if this is helpful :)

loadTests/loadtest.py Show resolved Hide resolved
loadTests/loadtest.py Show resolved Hide resolved
@JonasKellerer
Copy link
Contributor Author

FYI: The docker command uses --network='host'. This is used for linux, to get access to localhost on that system. For mac and windows this might be different.

@JonasKellerer JonasKellerer force-pushed the 298-load-test-many-requests branch from bd0e048 to 89f33ae Compare February 29, 2024 13:39
@JonasKellerer
Copy link
Contributor Author

Not needed any longer. We will perform other load tests when necessary.

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.

Load test: many requests
2 participants