---
title: PerformanceTestConfig
framework: retentionmessaging
role: symbol
role_heading: Object
path: retentionmessaging/performancetestconfig
---

# PerformanceTestConfig

An object that enumerates the test configuration parameters.

## Declaration

```data
object PerformanceTestConfig
```

## Properties

maxConcurrentRequests: The maximum number of concurrent requests the API allows. responseTimeThreshold: The maximum time your server has to respond when the system calls your Get Retention Message endpoint in the sandbox environment. successRateThreshold: The success rate threshold percentage. totalDuration: The total duration of the test in milliseconds. totalRequests: The total number of requests to make during the test.

## Overview

Overview The Initiate Performance Test endpoint returns the PerformanceTestConfig object in the PerformanceTestResponse response. When you call the Initiate Performance Test endpoint to start a performance test, the test sends multiple requests and runs for a period of time. To calculate the time when the test concludes, add the totalDuration to the time, in milliseconds, you initiated the test.

## See Also

### Performance testing

- [PerformanceTestRequest](retentionmessaging/performancetestrequest.md)
- [PerformanceTestResponse](retentionmessaging/performancetestresponse.md)
- [PerformanceTestResponseTimes](retentionmessaging/performancetestresponsetimes.md)
- [PerformanceTestResultResponse](retentionmessaging/performancetestresultresponse.md)
- [PerformanceTestStatus](retentionmessaging/performanceteststatus.md)
- [Failures](retentionmessaging/failures.md)
- [sendAttemptResult](retentionmessaging/sendattemptresult.md)
- [requestId](retentionmessaging/requestid.md)
