Passing session values to function called in Feed


I have created a function which accept input string and return processed output. calling this function in feed and storing output in the variable ‘variableName’

I am using another feed to import values from CSV

Trying to pass the session value from the csv file to the function.
For example csv holds the value for ‘userName’ and ‘password’, i am passing as below in the feed

While execution, function getting the value as ${userName} not the resolved value.

What is wrong here?

My intention is to get value from CSV and pass it to a external function used by test service.

Thanks for your time and suggetions.

Thanks and Regards,
Sakthivel Raja V

Please read the documentation, especially the warnings,

Gatling Expression Language is not something magical you can use wherever you want.