Professional Documents
Culture Documents
Introducing SIP
Introducing SIP
Text based
Stateless
Extensible
unlike H.323
UAS
INVITE
100 Trying
180 Ringing
200 OK
ACK
Protocol Characteristics
SIP Testing
Load Testing
Application
Transaction
Messages
Events
Dialog
Transaction
Dialog
Events
Transaction
Messages
Messages
Events
Req
Res Req
Parser
Req Res
Encoder
SIP Messages
Message Layer
Message Layer
Transaction Layer
Timer B fires
OR Transport Err
Calling
2xx to TU
1xx to TU
300 699
ACK sent
Proceeding
2xx to TU
Completed
Transport Err
Timer D fires
Terminated
Proceeding
101-199 from TU
300-699 from TU
INVITE Send Response
Completed
ACK
Confirmed
Timer I fires
Terminated
Timer G Fires
Send
Response
Timer I fires
Client Transactions
Late ACKs
Duplicate ACKs
Out of Sequence messages.
Drop Requests/Responses
Delay Responses
Generate out of order responses, Stray
Messages
Dialog Layer
Dialog Layer
Test agent must test for expected Route / RecordRoute headers in requests
Motivation
Service Function
Event Engine
Service Container
XML Engine + Java/Jython
interpreter
Service Script a callout to
a service function at transition
points in the call flow.
NIST-SIP Stack
Network
Unit Under
Test
Test Script
Why Do It?
Proxy
RMI
UA
Java Applet
collects and
visualizes
distributed call
flow trace files.
Augmented
with XML script
state
information.
Enables
debugging call
flows & test
scripts.
Related work