Feed multiple n-rows from CSV to json payload

OK, this is a typical example as to why we request that you use an up-to-date version of Gatling before opening threads here: How to Ask a Question

The behavior has changed in Gatling 3.8, see Gatling - Upgrading from 3.7 to 3.8

  • #4226: The feed override that takes a number of entries now produces arrays instead of translating the keys with an index suffix.

So:

  • with Gatling <= 3.7 => indeed, you have planetNames1 and planetNames2
  • with Gatling >= 3.8 => you have a planetNames array whose entries you can access with #{planetNames(0)} and #{planetNames(1)}, or just directly use the array with #{planetNames}
1 Like