Skip to content

Instantly share code, notes, and snippets.

@hassy
Created September 27, 2016 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hassy/b2a210fff0e4f7d4752d78996106866b to your computer and use it in GitHub Desktop.
Save hassy/b2a210fff0e4f7d4752d78996106866b to your computer and use it in GitHub Desktop.
Artillery CSV payloads
item peanuts
item starburst
item eggs
item butter
item creamer
item pudding
item yogurt
item egg%20noodles
item alfredo
{
"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"
}
}
]
}
]
}
@hassy
Copy link
Author

hassy commented Sep 27, 2016

Run artillery with:

DEBUG=http artillery run test.json

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.

@kyle2118
Copy link

kyle2118 commented Jan 18, 2019

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