-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathartillery.yml
69 lines (69 loc) · 1.96 KB
/
artillery.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
config:
target: 'http://127.0.0.1:2100'
phases:
- duration: 30
arrivalRate: 100
processor: "./artillery.js"
defaults:
headers:
x-my-service-auth: '987401838271002188298567'
scenarios:
- flow:
# - get:
# url: "/api/units/{{ id }}"
# beforeRequest: "attachRandomUnitId"
- post:
url: "/api/units"
json:
newUnit:
owner_id: 0
title: ''
streetaddress: ''
aptorsuite: ''
country: ''
city: ''
state: ''
zipcode: ''
partofunitfromrent: ''
guestsallowed: 3
numberofroomsguestsmayuse: 3
numberofbedsguestsmayuse: 3
numberofbathroomsguestsmayuse: 3
numberofreviews: 3
averagestarrating: 3
summarydescription: ''
aboutyourunit: ''
whatguestscanaccess: ''
yourinteractionwithguests: ''
otherthingstonote: ''
dateavailablefrom: ''
dateavailableto: ''
pricepernight: 100
cleaningfee: 100
servicefee: 100
isbooked: true
hasessentials: true
haswifi: true
hasshampoo: true
hasclosetdrawers: true
hastv: true
hasheat: true
hasairconditioning: true
hasbreakfastcoffeetea: true
hasdeskworkspace: true
hasfireplace: true
hasiron: true
hashairdryer: true
hasprivateentrance: true
hassmokedetector: true
hascarbonmonoxidedetector: true
hasfirstaidkit: true
hasfireextinguisher: true
haslockonbedroomdoor: true
haspool: true
haskitchen: true
haslaundrywasher: true
haslaundrydryer: true
hasparking: true
haselevator: true
hashottub: true