Test Suites
# support
m
Hi support. I love the idea of tests suites, but struggle with how to use it effectively. If i have a call that has variables and want to run it through a test simulation, what’s the best way to set that up?
v
According to [Vapi's documentation](https://docs.vapi.ai/test/voice-testing), test suites help you organize and execute multiple test cases for your voice AI agents. To create one, navigate to the Test tab in your dashboard, select Test Suites, and click Create Test Suite. For handling variables, Vapi supports dynamic variables as mentioned in their [documentation](https://docs.vapi.ai/assistants/voice-formatting-plan). When updating tests, you can use the
scriptstring
parameter to include variables in your test scripts. Could you share more details about the specific variables you're trying to use in your test simulations? This would help me provide more targeted guidance for your use case. Sources: - [Vapi Voice Testing Documentation](https://docs.vapi.ai/test/voice-testing) - [Vapi Voice Formatting Plan](https://docs.vapi.ai/assistants/voice-formatting-plan) - [Vapi Test Suite API Reference](https://docs.vapi.ai/api-reference/test-suite-tests/test-suite-test-controller-update)
k
Add dynamic placeholders like {{name}} in your prompt, then use assistantOverrides in your test suite to inject variable values during simulation for accurate, personalized test runs..
m
@Kings_big💫 can i do that through the VAPI UI or do i need to make an api call?
k
Via API
3 Views