---
schema_version: "1"
id: facf33f3c26f1ebabe69b8d11155a2176fe9564ba4e8db1238b0594389922916
title: Storage Event Processors
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/munit/2.3/storage-event-processors.md
canonical_url: https://docs.mulesoft.com/munit/2.3/storage-event-processors
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 3b22f1a58511e148f3cc6062dad21af80300f5fdbf6933f4dc1b21c827927a01
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
---
product: MUnit
version: 2.3
---

# Storage Event Processors

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

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

```xml
<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

```xml
<munit-tools:retrieve key="myKey"/>
```

## Remove operation

Removes and returns the data associated with the given key

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

## Clear stored data operation

Clears all stored data

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