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
Stress test with Artillery.js | |
150 Requests/Second | |
loadtest.yml | |
============== |
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
Stress test with Artillery.js | |
Stress test with Artillery.js | |
1000 Requests/Second (~400 achieved) | |
loadtest.yml | |
============== | |
config: |
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
FangNYC - Booking Endpoints | |
by Ben Mangold | |
Key | |
------------------------------------- | |
REQUEST /endpoint/:argument | |
{ | |
body:json | |
} | |
{ |
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
GET /productImages/:productName | |
(RUN EXAMPLE WITH SEEDED DATA > GET /productImages/test1) | |
Will return product image links as JSON | |
{ | |
"bannerImageUrl": "https://www.cats.org.uk/uploads/branches/1/42847%20Cats%20Weekly%20Lottery%20Web%20Banner.jpg", | |
"images": "https://timedotcom.files.wordpress.com/2015/02/grumpy-cat1.jpg,https://timedotcom.files.wordpress.com/2015/02/grumpy-cat1.jpg" | |
} |