in code/sample-app/locust-script.py [0:0]
def index(self):
self.client.get("items/")
self.client.get("items/1/")
name = str(uuid.uuid1())
headers = {'content-type': 'application/json','Accept-Encoding':'gzip'}
self.client.post('/items',data= json.dumps({
"id": name,
"name": "load test"
}),
headers=headers,
name = "Create a new item")