I am attempting to test a node.js app that uses socket.io with artillery, however I keep getting an error even when trying to parse the simplest of files. For example, this is my .yaml:
config:
target: 'localhost'
phases:
- duration: 10
arrivalRate: 1
scenarios:
- name: "asd"
- flow:
- emit:
channel: 'enterGame'
And I keep getting this error:
npm\node_modules\artillery\lib\commands\run.js:316 scenario.flow.forEach(function(step) { ^
TypeError: Cannot read property 'forEach' of undefined
How could I possibly fix this?