[asterisk-bugs] [JIRA] (ASTERISK-24096) testsuite: Add endpoint inspection tests

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jul 22 15:30:57 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-24096:
-----------------------------------

    Status: Open  (was: Triage)

> testsuite: Add endpoint inspection tests
> ----------------------------------------
>
>                 Key: ASTERISK-24096
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24096
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Tests/testsuite
>            Reporter: Matt Jordan
>
> This is to cover inspection of endpoints. The test should use the following:
> # Two PJSIP endpoints
> # A SIP peer
> # An IAX2 peer
> Note that it may take multiple Asterisk instances, as IAX2 is "funny" about what it considers an endpoint. XMPP would be nice, but it's doubtful that it will work without an XMPP server to connect to (and which would be rather difficult to set up).
> *Note*: these tests are relatively simple. It's up to the person writing the tests if they want to combine them into one or multiple.
> h3. List all endpoints
> # Issue a {{GET /endpoints}}. Verify all endpoints are listed.
> h3. List all endpoints by tech
> # For each tech, issue a {{GET /endpoints/tech}} to get the endpoints for that technology. Verify that all the endpoints are returned appropriately.
> h3. Get a specific endpoint
> # Create a bridge
> # Create a channel for one of the PJSIP endpoints and the IAX2 endpoint (thus associating channels with the endpoints)
> # Create a channel for one of the SIP endpoints to the IAX2 endpoint (thus having two channels on an endpoint)
> # For each endpoint, issue a {{GET /endpoints/tech/endpoint}}. Verify that the endpoints returned are individual and contain the appropriate data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list