is there a possibility to create a list/array with key:=value pairs and later on make a lookup for the key, but return the corresponding value? As of now, I only found the multivalued variable. Or do I have to create such functionality with a complex logic by myself?Thank you!
This will depend on your use case, but you may want to explore using JSON for the key/value pair and the "Evaluate JSON path expression" assertion to retrieve the values.
Evaluate JSON Path Expression Assertion - CA API Gateway - 9.2 - CA Technologies Documentation
You can use multivalued variables (which are kind of lists or arrays) to
Look up values by key is a Map feature. For a Map you have (as far as I know) the following options: