Is there a means to store complex values in session state?

Is there a means to store complex values in session state?

You can store whatever you want in the session. What you store and how you use it is up to you. Then, you might have to do it programmatically instead of using Gatling built-in features, such as Gatling EL.

.check(whatever.jsonPath(“$.keyK”).typeOf(Map[UuidType, ValType]).saveAs(“keyK”))

whatever doesn’t go there.

Then, I don’t know what UuidType and ValType are, but beware that jsonPath built in maps to Map and List, not POJOs or POSOs.

I’m asking if some kind of syntax similar to e.g.: .sendText(“${keyK}.{uuidT}”)

Please read Gatling EL documentation: http://gatling.io/docs/2.0.0-RC6/session/expression_el.html

Why would you want to do something like that? Why aren’t Maps and Lists convenient/suited for your use case?

Our JsonPath implementation works with such an AST, so what you’re trying to do would mean re-injection the AST into a complex object tree: performance penalty.
Same thing with re-serialization this tree: reflection => performance penalty.