Skip to content

Commit 3fefee7

Browse files
authored
Replace HttpUser with FastHttpUser (GoogleCloudPlatform#2495)
1 parent 3e59008 commit 3fefee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loadgenerator/locustfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616

1717
import random
18-
from locust import HttpUser, TaskSet, between
18+
from locust import FastHttpUser, TaskSet, between
1919
from faker import Faker
2020
import datetime
2121
fake = Faker()
@@ -87,6 +87,6 @@ def on_start(self):
8787
viewCart: 3,
8888
checkout: 1}
8989

90-
class WebsiteUser(HttpUser):
90+
class WebsiteUser(FastHttpUser):
9191
tasks = [UserBehavior]
9292
wait_time = between(1, 10)

0 commit comments

Comments
 (0)