diff --git a/src/loadgenerator/locustfile.py b/src/loadgenerator/locustfile.py index d91532a77bb..3b383543d6f 100755 --- a/src/loadgenerator/locustfile.py +++ b/src/loadgenerator/locustfile.py @@ -15,7 +15,7 @@ # limitations under the License. import random -from locust import HttpUser, TaskSet, between +from locust import FastHttpUser, TaskSet, between from faker import Faker import datetime fake = Faker() @@ -87,6 +87,6 @@ def on_start(self): viewCart: 3, checkout: 1} -class WebsiteUser(HttpUser): +class WebsiteUser(FastHttpUser): tasks = [UserBehavior] wait_time = between(1, 10)