-
Notifications
You must be signed in to change notification settings - Fork 1
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 Locust testing scripts and configurations #50
Conversation
locust/locustfile.py
Outdated
# Set test parameters | ||
network_timeout = NETWORK_TIMEOUT | ||
connection_timeout = CONNECTION_TIMEOUT | ||
headers = {"Authorization": get_authorization()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
headers = {"Authorization": get_authorization()} | |
headers = {"Authorization": f"Bearer {get_authorization()}"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With adding "Bearer " to the Auth header locust tests ran fine with JWT auth turned on for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After adding the Auth header change the locust tests are running as expected. Tested with tests/mock_vllm_api_server.py
. Approved on condition we add that minor fix.
726d652
to
be85042
Compare
Adding scripts to run Locust server load testing. The purpose of the Locust tests is to provide detailed server metrics such as Requests Per Second (RPS).