appstoreserverlibrary.models.PerformanceTestConfig module

class appstoreserverlibrary.models.PerformanceTestConfig.PerformanceTestConfig(maxConcurrentRequests: int | None = None, totalRequests: int | None = None, totalDuration: int | None = None, responseTimeThreshold: int | None = None, successRateThreshold: int | None = None)[source]

Bases: object

An object that enumerates the test configuration parameters.

https://developer.apple.com/documentation/retentionmessaging/performancetestconfig

maxConcurrentRequests: int | None

The maximum number of concurrent requests the API allows.

https://developer.apple.com/documentation/retentionmessaging/maxconcurrentrequests

responseTimeThreshold: int | None

The maximum time your server has to respond when the system calls your Get Retention Message endpoint in the sandbox environment.

https://developer.apple.com/documentation/retentionmessaging/responsetimethreshold

successRateThreshold: int | None

The success rate threshold percentage.

https://developer.apple.com/documentation/retentionmessaging/successratethreshold

totalDuration: int | None

The total duration of the test in milliseconds.

https://developer.apple.com/documentation/retentionmessaging/totalduration

totalRequests: int | None

The total number of requests to make during the test.

https://developer.apple.com/documentation/retentionmessaging/totalrequests