<munit-tools:store key="myKey">
<munit-tools:value>#[person : { name: 'John', lastName: 'Smith' }]</munit-tools:value>
</munit-tools:store>
xml
Storage Event Processors
The Storage processors allows you to manage temporary storage during your tests.
All storage is cleared as soon as the test ends.
Store operation
Stores the given data associated with the given key. If value
not set, it defaults to the payload
.
Retrieve operation
Retrieves the data associated with the given key
<munit-tools:retrieve key="myKey"/>
xml
Remove operation
Removes and returns the data associated with the given key
<munit-tools:remove key="myKey"/>
xml
Clear stored data operation
Clears all stored data
<munit-tools:clear-stored-data/>
xml