Just noticed that the Script Data Action in our Architect flow is failing with a 502 Bad Gateway error when we push the load beyond 500 concurrent sessions. Here is the environment setup:
- Genesys Cloud Org: Production
- Load Test Tool: JMeter 5.6.2 running from Singapore (Asia/Singapore)
- Target Endpoint: /api/v2/analytics/interactions (real-time)
- Concurrent Threads: 1000
- Ramp-up Period: 60 seconds
The goal is to validate how the platform handles real-time interaction checks under high concurrency. The first 500 requests complete successfully and return 200 OK. However, once the thread count hits 501, the Script Data Action starts returning 502 errors. The response body is empty, which makes debugging tricky.
I have checked the JMeter logs and confirmed that the WebSocket connections are established correctly before the API call. The issue seems to be specific to the platform_api gateway rejecting the request due to load, rather than a timeout or authentication failure. I am not seeing any 429 rate limit errors, just the 502.
Is there a known limit on how many concurrent Script Data Actions can hit the analytics endpoint before the gateway drops the connection? We are trying to determine if this is a hard limit or if we need to adjust our load test pattern to space out the requests more evenly. Any insights on capacity planning for this specific action would be helpful.