forked from LYRADNIS/review-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello.yml
34 lines (34 loc) · 1.02 KB
/
hello.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
config:
target: 'http://localhost:3003'
phases:
- duration: 60
arrivalRate: 1000
scenarios:
- flow:
# - loop:
# - get:
# url: "/listings/{{$randomNumber(1, 10000000)}}/reviews/"
# - get:
# url: "/listings/{{$randomNumber(1, 10000000)}}/overviews/"
# count: 100
- get:
url: "/listings/{{$randomNumber(1, 10000000)}}/reviews/"
- get:
url: "/listings/{{$randomNumber(1, 10000000)}}/overviews/"
# - post:
# url: "/listings/reviews/post/"
# json:
# listing_id: 100,
# rating_accuracy: 3,
# rating_accuracy: 5,
# rating_communication: 2,
# rating_cleanliness: 4,
# rating_location: 3,
# rating_checkin: 5,
# rating_value: 5,
# review_user_id: 1,
# review_body: "Hello world!3",
# review_date: "11/10/8332",
# response_date: "11/34/3241",
# response_owner_id: 3,
# response_body: "Yo you you"