Problem with doIfEqualsOrElse method

Hello everyone,

Im getting this error in my Run description:
13:05:17.644 [ERROR] i.g.c.action.If - ‘if-39’ failed to execute: No attribute named ‘productVariant’ is defined

Here is a code snippet in which I’m trying to use this productVariant:

feed(productsFeeder)
doIfEqualsOrElse("${productVariant}", “false”) {

Here is how my csv looks like:
productCode,productVariant,productPath

Obviously I’m missing something, can anyone help? Sorry, still pretty new to Gatling :smiley:

Thx in advance!

You’re missing a dot to chain feed and doIfEqualsOrElse so indeed, your feeder is never called.

:wink:, thx Stephane!