Running a load test to validate our agent scripting pipeline’s capacity under high concurrency. The goal is to simulate 50 concurrent agents fetching and updating script states via the Genesys Cloud Platform API.
At 50 concurrent threads, getting 503 Service Unavailable responses from the scripting endpoints (POST /api/v2/floccus/agent-scripts). Lower volumes (20 concurrent) work fine, but scaling up causes the failures. The standard voice recording endpoints hold up fine, but the scripting API seems to have a lower threshold.
JMeter config:
- Thread Group: 50 threads, 5 loop count, 10s ramp-up
- HTTP Request: POST /api/v2/floccus/agent-scripts
- Headers: Authorization Bearer, Content-Type application/json
- Body: { “scriptId”: “abc123”, “status”: “active” }
Any ideas on how to optimize this or if there’s a known limit? Has anyone seen similar 503 errors during high-concurrency scripting operations? Looking for best practices to handle these rate limits or connection drops.