https://retellai.com/?utm_source=discord&utm_medium=seo logo
Does the Simulation testing work properly
# ❓・ai-evy-support
m
@AI Evy @Colin - Integrations @ Retell AI @Omar Ashraf | Community Lead Does the Simulation testing work properly? I continue to get "conversation loop errors" but when I recreate the exact scenarios, word for word I never have the same issue the transcript indicates. I can't seem to validate the issue, but I'm wanting to make sure there isn't something I'm missing... Here is a test case ID as an example: test_job_7d625a5d5956
a
Thanks for tagging me @mcnft_. I'll look through relevant sources and get back to you shortly.
### Answer The ConversationLoopError you're experiencing in simulation testing is a known issue that affects multiple users [(1) ]() [(2) ]() . Based on the available information, this error can occur even when there's no actual looping behavior in the conversation [(1) ]() . Here are some key points about this issue: Common Causes: - The error can be triggered by strict success criteria, even when conversations aren't actually looping - It affects both AI Simulated Chat and Batch Testing features - The issue can occur inconsistently - the same test might pass once and fail with ConversationLoopError the next time Workarounds: - Try relaxing your success conditions slightly, as strict criteria can trigger the error even in non-looping conversations - In live calls, the loop guard remains active, so you should vary agent responses and avoid repeating the same phrasing Important Note: The loop detection behavior differs between testing and production - in live calls, this guard is still active . For your specific test case ID, you may want to contact Retell support directly, as they might be able to raise the limit or whitelist your use case if the flow is legitimately long by design and not actually looping . The simulation testing feature itself works properly [(3) ]() [(4) ]() [(5) ]() , but this ConversationLoopError appears to be a limitation in the current implementation that can produce false positives.
​ To learn more, see the sources I considered: [[1] Simulation Tests – ConversationLoopError (Increase message limit)](https://discord.com/channels/1186424376300679209/1387066442276667517) [[2] Conversation Loop Error](https://discord.com/channels/1186424376300679209/1390057930673356810) [[3] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) [[4] Retell AI Introduces Simulation and Batch Testing for AI Agents | Retell AI](https://www.retellai.com/blog/retell-ai-introduces-simulation-and-batch-testing-for-ai-agents) [[5] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.