28.06.2015 Views

Automated Testing of a Converged Conferencing Application

Automated Testing of a Converged Conferencing Application

Automated Testing of a Converged Conferencing Application

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SIP <strong>Testing</strong><br />

SIPAgent alice = createAgent(“Alice”);<br />

alice.setProxy(“sut.att.com”);<br />

alice.call(“sip:bob@research.att.com”);<br />

pause(2000);<br />

assertThat(alice, connected());<br />

Alice<br />

INVITE alice media ip:port<br />

SUT<br />

pause(2000);<br />

200 OK sut media ip:port<br />

assertThat(alice, has (incomingMedia()));<br />

pause(2000);<br />

ACK<br />

alice.sendDTMF(“1234”);<br />

pause(2000);<br />

RTP media<br />

alice.end();<br />

pause(2000);<br />

BYE<br />

assertThat(alice, disconnected());<br />

Excerpt from KitCAT test case<br />

200 OK<br />

Page 16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!