Replies: 1 comment 3 replies
-
hi @jinman, that's a really neat way to define your tests, love it! (reminds me of the concept of table-driven tests popular in Go) Artillery does not have a way to provide the contents of the entire CSV file to a virtual user right now (it's done per-row), which would make this easy. There's a slightly more involved way to get this done right now though with:
I've put together a working example here: https://github.com/artilleryio/artillery-examples/tree/main/table-driven-functional-tests |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are trying to use artillery for functional testing as per https://artillery.io/blog/using-artillery-for-your-functional-testing/. However, we have defined all our test cases (requests and responses) in a CSV file (300 rows) which we are reading in sequential order, instead of defining 300+ scenarios. What should be the duration and arrivateRate functional phases? We tried following options:
Can someone please provide some ideas on what should we provide as config so that all the rows in the CSVs are atleast tested once?
@dennmart, you blog was super helpful, if you can provide some pointers on how to run all the tests from CSV file once, that will be great!
Beta Was this translation helpful? Give feedback.
All reactions