---
schema_version: "1"
id: e36f367309df1751c0b9fbd34b70ad5e60beb52386ae92f69adb894c2c0dc354
title: Sleep Processor
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/munit/3.6/sleep-processor.md
canonical_url: https://docs.mulesoft.com/munit/3.6/sleep-processor
source_site: docs.mulesoft.com
content_type: documentation
content_hash: ea02a29e36891f5400d64b8cd50f19b1679327f3bf15f91a6defe880d1c7116f
description: MuleSoft Documentation Site
release: "3.6"
latest: false
---
---
product: MUnit
version: 3.6
---

# Sleep Processor

> 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 Sleep processor allows you to pause your test for a specific time. You can use this processor to
simulate a delay in the processing of the flow:

```xml
<munit-tools:sleep time="100" timeUnit="MILLISECONDS"/>
```

`time`

Numerical value for the unit of time that your test waits before going to sleep.

`timeUnit`

The unit in which the `time` value is measured.

Possible values are:

- `MILLISECONDS` (default)

- `MICROSECONDS`

- `MINUTES`

- `NANOSECONDS`

- `SECONDS`

- `HOURS`
