---
title: "Duration Assertion"
description: "Configure the JMeter Duration Assertion assertions: properties, defaults, and practical usage notes for building reliable load tests."
url: https://docs.jmeter.ai/components/duration-assertion/
lastUpdated: 2026-10-01
source: docs.jmeter.ai
---

# Duration Assertion

*Part of the **Assertions** category. Also documented in context in the [full Component Reference](/user-manual/component-reference/#duration-assertion).*

![Duration Assertion](/images/screenshots/duration_assertion.png)

The Duration Assertion tests that each response was received within a given amount
of time.  Any response that takes longer than the given number of milliseconds (specified by the
user) is marked as a failed response.

| Name | Required | Description |
| --- | --- | --- |
| Name | No | Descriptive name for this element that is shown in the tree. |
| Duration in Milliseconds | Yes | The maximum number of milliseconds         each response is allowed before being marked as failed. |

## Related

- [Assertions & SLA Validation](/topics/jmeter-assertions-guide/)
- [Full Component Reference](/user-manual/component-reference/)
- [Functions and Variables](/user-manual/functions/)
