Accessing fields using EvaluatableString


I was wondering if there’s any way to reach into session object fields using session.EvaluatableStrings. For example, accessing the username in this snippet:


Sorry, but I’m not very fond of this (meaning that I’d like to hear other people’s opinion about this too):

  • the EL parser would become more complex to develop and maintain

  • from my experience, whatever the language, EL is always a hotspot in application performance (parsing, reflection). The more complex, the less efficient.

  • all those POSOs/case classes would increase memory footprint
    One of Gatling’s goal is efficiency, and I don’t see this going in the right direction.
    It looks to me like over-engineering.