Contact Us 1-800-596-4880

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.

<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"/>

Remove operation

Removes and returns the data associated with the given key

<munit-tools:remove key="myKey"/>

Clear stored data operation

Clears all stored data

<munit-tools:clear-stored-data/>