https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3712f51c-7075-419e-9dbe-ac790809d3a1/_2020-02-05__3.35.03.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1d8d9e9b-8d77-48e2-83c3-a98a6cd89e87/_2020-02-05__3.35.12.png

https://ngee.tistory.com/1172

https://medium.com/@jspark141515/locust로-서버-성능-테스트하기-7490d882015

from locust import HttpLocust, TaskSet, task, between

class UserBehaviour(TaskSet):
    @task
    def testCode(self):
        h = """{
                "x-kas-project-id": "6f9db89b212fb4da651ccbf034621eab77ff6655",
                "x-kas-project-token":"e41f9c301c6b4057ed0691f0d59ff9aad638f64d",
                "x-kas-network-id":"1001",
                }
        """
        self.client.get("/v1/klay/transfer?eoaAddress=0xaf521d543019aa7954a7a639c37be038a89614ba",
                        headers = {'x-kas-project-id':'6f9db89b212fb4da651ccbf034621eab77ff6655', 'x-kas-project-token':'e41f9c301c6b4057ed0691f0d59ff9aad638f64d', 'x-kas-network-id':'1001'})

class WebsiteUser(HttpLocust):
    task_set = UserBehaviour
    wait_time = between(5, 9)