|
from locust import HttpUser, between, task
|
|
|
|
class WebsiteUser(HttpUser):
|
|
#wait_time = between(5, 15)
|
|
|
|
@task
|
|
def index(self):
|
|
self.client.post("/carts/1/items", json= {"itemId":"03fef6ac-1896-4ce8-bd69-b798f85c6e0b","unitPrice":"99.99"}, headers={"x-dynatrace-test": "LSN=Test;"}) |