replace feeder values in a variable

I have request body in a variable which has feeder variables. Is it possible to replace those variables with feeders ?

I need to replace $var1 with test1 from feeder.
For other logic which do some changes to the file before I actual use it as payload, so i can not call directly file with ElFileBody.

is it possible ?


No, it’s not possible. Gatling Expression Language doesn’t work recursively.
I recommend you directly:

  • either craft your whole body in a function with the help of the Session API
  • or abide to Gatling’s logic and built-ins