Description
The MemoryGetGen Generator references a map of key/value pairs stored in memory by a MemoryPutGen Generator. It can reference a given memory map via its namespace and retrieve a value from within the memory map via the value of its key.
Because the key/value pairs are stored in memory during a Scenario run, the loopCount should be kept to a reasonable limit so a memory crash does not occur.
Parameters
The following parameters may be configured for the MemoryGetGen Generator. Items with an asterisk* are required.
- namespace* - Defines a value that will uniquely define a map in memory allowing for two or more maps to exist in memory at the same time.
- key* - References an Attribute whose generated value represents the key of a key/value pair. The key must be unique for each represented value. Often, the value of the "id" Attribute is used to represent the key.
- default* - References a Generator (most likely a linked Generator) whose generated value is used if a given key/value pair is not found within the memory map for a given namespace.