Skip to content

Commit

Permalink
Replace HttpUser with FastHttpUser (#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoisor committed Apr 18, 2024
1 parent 3e59008 commit 3fefee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loadgenerator/locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)

0 comments on commit 3fefee7

Please sign in to comment.