Commit 4c9f59dc authored by litaolemo's avatar litaolemo

update

parent 9ef66a3a
...@@ -399,7 +399,7 @@ import random ...@@ -399,7 +399,7 @@ import random
print(random.choice(query_Str_list)) print(random.choice(query_Str_list))
from locust.exception import RescheduleTask from locust.exception import RescheduleTask
class QuickstartUser(HttpUser): class QuickstartUser(FastHttpUser):
@task @task
def hello_world(self): def hello_world(self):
query = random.choice(query_Str_list) query = random.choice(query_Str_list)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment