Stuck on a specific rate limiting issue while running predictive outbound load tests. The environment is Genesys Cloud version 2023-12, and we are using the Java SDK version 3.1.4 for campaign management. The goal is to validate system capacity under high concurrency. When ramping up JMeter threads to simulate 500 concurrent preview calls, the API throughput drops significantly. The endpoint POST /api/v2/outbound/campaigns/{campaignId}/preview returns HTTP 429 Too Many Requests almost immediately after the 50th concurrent request. The response headers indicate retry-after: 5, but the JMeter script does not handle this gracefully, causing the test to fail with connection timeouts.
The predictive routing configuration uses a standard dialer pattern with a 1:1 agent-to-call ratio initially. The campaign is set to ‘Preview’ mode for safety during testing. Despite reducing the batch size to 50 concurrent requests, the 429 errors persist after about 10 seconds of sustained load. This suggests the limit is not just per-request but possibly per-tenant or per-service-account within a short time window. The error log shows:
HttpResponseException: 429 Too Many Requests
Retry-After: 5
Content-Type: application/json
Body: {"message": "Rate limit exceeded for outbound preview calls."}
This behavior disrupts the load test metrics, as we cannot measure the actual WebSocket connection stability or agent availability under stress. The standard API rate limits for Outbound are documented, but they do not specify thresholds for preview call initiation specifically. We need to understand if there is a hidden cap on preview call initiation rates separate from the general API call limits.
Here is what has been attempted so far:
- Implemented exponential backoff logic in the JMeter script to respect the
retry-afterheader, but the total test duration exceeds acceptable limits, and the throughput remains low compared to production expectations. - Verified that the service account used for the test has the
outbound:campaigns:writepermission and checked the Admin console for any specific ‘Throttling’ settings under the Outbound campaign configuration, but found no adjustable parameters for preview call rates.