Last active
September 25, 2019 23:17
-
-
Save minmaxdata/2dc6cfcc17432eb923ad2bcac2271fea to your computer and use it in GitHub Desktop.
LOad test for proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: 'http://localhost:3000' | |
phases: | |
- duration: 60 | |
arrivalRate: 5 | |
- duration: 120 | |
arrivalRate: 5 | |
rampTo: 50 | |
- duration: 600 | |
arrivalRate: 50 | |
payload: | |
path: "listings-data1m.csv" | |
fields: | |
- "listingId" | |
- "cityId" | |
- "listingName" | |
- "photo1" | |
- "photo2" | |
- "photo3" | |
- "photo4" | |
- "cost" | |
- "stars" | |
- "reviews" | |
- "type" | |
- "listing" | |
scenarios: | |
- flow: | |
- get: | |
url: "/?houseId=9999" | |
- post: | |
url: "/house" | |
json: | |
listingId: "{{ listingId }}" | |
cityId: "{{ cityId }}" | |
listingName: "{{ listingName}}" | |
photo1: "{{ photo1 }}" | |
photo2: "{{ photo2 }}" | |
photo3: "{{ photo3 }}" | |
photo4: "{{ photo4 }}" | |
cost: "{{ cost }}" | |
stars: "{{ stars }}" | |
reviews: "{{ reviews }}" | |
type: "{{ type }}" | |
listing: "{{ listing }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment