Testing: Dialer
Testing
The simplest way to test is with the Postman API Tool
Import the collection
Add an Environment (for example Dev) and add the following Environment Variables:
dialer: specify the http://url of the dialer instance you are using.
campref: the campaign reference you want to use for these tests
It's best to change this every run, so that the dialer doesn't keep state (retry timeout)
extension: the agent extension you are going to use for testing
Apiary
The second options is to use Apiary, both postman and apiary are always up to date
Tips:
All the Environment variables can be overridden in individual calls.
everything can be altered as you wish.
call_id is one URL Parameter that does not have an environment variable so that needs to be set in each call.
The call_id is returned in the redis notification. (this is an unfortunate inconvenience for testing)
STOP and DELETE campaigns after running a test.