forked from ScaleBnB/recommendations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestPost.yml
More file actions
26 lines (25 loc) · 778 Bytes
/
testPost.yml
File metadata and controls
26 lines (25 loc) · 778 Bytes
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
config:
target: "http://localhost:3002"
pool: 10000
phases:
- duration: 45
arrivalRate: 100
processor: "./my-functions.js"
scenarios:
- flow:
- function: "generateRandomData"
- post:
url: "/listings/{{ listing_id }}/recommendations"
json:
listing_id: "{{ listing_id }}"
title: "{{ title }}"
price: "{{price}}"
homeType: "{{ homeType }}"
bedsNumber: "{{ bedsNumber }}"
reviewsAverage: "{{ reviewsAverage }}"
numberOfReviews: "{{ numberOfReviews }}"
likedStatus: "{{ likedStatus }}"
plusStatus: "{{ plusStatus }}"
image1: "{{ image1 }}"
image2: "{{ image2 }}"
image3: "{{ image3 }}"