fix - load test

This commit is contained in:
Ishaan Jaff 2024-05-25 17:19:34 -07:00
parent 0ae6b337a3
commit 0b3c21b114
2 changed files with 3 additions and 15 deletions

View file

@ -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