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

# Sleep Processor

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

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`
