forked from phoenix/litellm-mirror
fix - load test
This commit is contained in:
parent
0ae6b337a3
commit
0b3c21b114
2 changed files with 3 additions and 15 deletions
12
.github/workflows/locustfile.py
vendored
12
.github/workflows/locustfile.py
vendored
|
@ -28,15 +28,3 @@ class MyUser(HttpUser):
|
|||
response = self.client.post("chat/completions", json=payload, headers=headers)
|
||||
|
||||
# Print or log the response if needed
|
||||
|
||||
@task(10)
|
||||
def health_readiness(self):
|
||||
start_time = time.time()
|
||||
response = self.client.get("health/readiness")
|
||||
response_time = time.time() - start_time
|
||||
|
||||
@task(10)
|
||||
def health_liveliness(self):
|
||||
start_time = time.time()
|
||||
response = self.client.get("health/liveliness")
|
||||
response_time = time.time() - start_time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue