Description

The MemoryPutGen Generator keeps a map of name/value pairs in a memory for a given namespace. Any value from the map can then be retrieved from memory via its namespace and the value of its key using the MemoryGetGen Generator. 


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 MemoryPutGen 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.

  • value* - References an Attribute whose generated value represents the value of a key/value pair. 


  • resetMap* - Defines whether to reset the Map for every Scenario Run. This is helpful when you want the map values to be maintained across the Scenarios in Scenario Chains.


Video Tutorial