Created
September 27, 2016 10:14
-
-
Save hassy/b2a210fff0e4f7d4752d78996106866b to your computer and use it in GitHub Desktop.
Artillery CSV payloads
This file contains hidden or 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
item | peanuts | |
---|---|---|
item | starburst | |
item | eggs | |
item | butter | |
item | creamer | |
item | pudding | |
item | yogurt | |
item | egg%20noodles | |
item | alfredo |
This file contains hidden or 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": "1", "arrivalCount": 1} | |
], | |
"payload": [{ | |
"path": "./searchItems.csv", | |
"fields": ["x", "item"] | |
}] | |
}, | |
"scenarios": [ | |
{ | |
"flow": [ | |
{ | |
"get": { | |
"url": "/products/search/{{item}}.json" | |
} | |
} | |
] | |
} | |
] | |
} |
I have several service calls in my flow. And i expect those calls to be executed sequentially. Moreover, i expect every service call to finish to let the next one to start. Am i correct, Hassy? Since I am facing a lot issues with my application, i wanted to personally ask you and get some clarification. P.S. Different versions of artillery are used: 1.6.24/25/26
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run artillery with:
To see the details of every request Artillery will send.
You can also run
nc -l 3000
to create a server that will print the request as it is received from Artillery.