Files
School/Anul 3/Semestrul 2/Licenta/Practical/tests/locustfile.py
T
2025-07-03 20:56:38 +03:00

10 lines
268 B
Python

from locust import HttpUser, task
class OrderUser(HttpUser):
@task
def view_inventory(self):
self.client.get("/inventory")
# @task
# def place_order(self):
# self.client.get("/payment/payment-success?orderId=14", allow_redirects=True)