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

# Storage Event Processors

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

![logo acb active](/mulesoft/current/en-us/_/img/icons/anypoint-code-builder.svg "Anypoint Code Builder")Anypoint Code
Builder

![logo studio active](/mulesoft/current/en-us/_/img/icons/studio.svg "Anypoint Studio")Anypoint Studio

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