[asterisk-dev] [Code Review] 2993: testsuite: Tests for form and JSON request bodies with ARI

David Lee reviewboard at asterisk.org
Fri Nov 15 12:32:21 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2993/
-----------------------------------------------------------

(Updated Nov. 15, 2013, 12:32 p.m.)


Review request for Asterisk Developers.


Changes
-------

Corrected branch name.


Bugs: ASTERISK-22685 and ASTERISK-22743
    https://issues.asterisk.org/jira/browse/ASTERISK-22685
    https://issues.asterisk.org/jira/browse/ASTERISK-22743


Repository: testsuite


Description
-------

This patch adds testsuite tests for form request bodies (content type
application/x-www-form-urlencoded) and JSON request bodies.

Since we're testing lower level ARI functionality, this is a test
using a simple Python script using requests to hit the API directly,
instead of our ARI test suite abstraction.


Diffs
-----

  /asterisk/trunk/tests/rest_api/tests.yaml 4325 
  /asterisk/team/dlee/ari-req-bodies/tests/rest_api/request-bodies/test-config.yaml PRE-CREATION 
  /asterisk/team/dlee/ari-req-bodies/tests/rest_api/request-bodies/run-test PRE-CREATION 

Diff: https://reviewboard.asterisk.org/r/2993/diff/


Testing
-------

The test passes.

See https://reviewboard.asterisk.org/r/2994/ and
https://reviewboard.asterisk.org/r/2993/.


Thanks,

David Lee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131115/381767bd/attachment.html>


More information about the asterisk-dev mailing list