MUnit Storage event processors manage temporary key-value storage during a MUnit test, letting you store, retrieve, and remove data across test steps. All stored data is cleared automatically when each test ends.
Store Operation
Stores the given data associated with the given key. If value not set, it defaults to the payload.
<munit-tools:store key="myKey">
<munit-tools:value>#[person : { name: 'John', lastName: 'Smith' }]</munit-tools:value>
</munit-tools:store>
Retrieve Operation
Retrieves the data associated with the given key
<munit-tools:retrieve key="myKey"/>