blob: 2c984bedd463c76915d5b7fce619078ae9205d5d [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!DOCTYPE scenario SYSTEM "sipp.dtd">
3
4<scenario name="Basic UAS responder">
5 <recv request="REGISTER" crlf="true">
6 </recv>
7
8 <send>
9 <![CDATA[
Alexandre Lision94f06ba2013-12-09 16:28:33 -050010 SIP/2.0 100 Trying
Tristan Matthews0a329cc2013-07-17 13:20:14 -040011 [last_Via:];received=1.1.1.1;rport=1111
12 [last_From:]
13 [last_To:];tag=[call_number]
14 [last_Call-ID:]
15 [last_CSeq:]
16 WWW-Authenticate: digest realm="test"
17 Content-Length: 0
18 ]]>
19 </send>
20
Alexandre Lision94f06ba2013-12-09 16:28:33 -050021 <pause milliseconds="2000"/>
22
23 <send>
24 <![CDATA[
25 SIP/2.0 401 Unauthorized
26 [last_Via:];received=2.2.2.2;rport=2222
27 [last_From:]
28 [last_To:];tag=[call_number]
29 [last_Call-ID:]
30 [last_CSeq:]
31 WWW-Authenticate: digest realm="test"
32 Content-Length: 0
33 ]]>
34 </send>
35
Tristan Matthews0a329cc2013-07-17 13:20:14 -040036 <recv request="REGISTER" crlf="true">
37 </recv>
38
39 <send>
40 <![CDATA[
Alexandre Lision94f06ba2013-12-09 16:28:33 -050041 SIP/2.0 401 Unauthorized again
42 [last_Via:];received=3.3.3.3;rport=3333
43 [last_From:]
44 [last_To:];tag=[call_number]
45 [last_Call-ID:]
46 [last_CSeq:]
47 [last_Contact:]
48 WWW-Authenticate: digest realm="test", stale=true
49 Content-Length: 0
50 ]]>
51 </send>
52
53
54 <recv request="REGISTER" crlf="true">
55 </recv>
56
57 <send>
58 <![CDATA[
Tristan Matthews0a329cc2013-07-17 13:20:14 -040059 SIP/2.0 200 OK
Alexandre Lision94f06ba2013-12-09 16:28:33 -050060 [last_Via:];received=4.4.4.4;rport=4444
Tristan Matthews0a329cc2013-07-17 13:20:14 -040061 [last_From:]
62 [last_To:];tag=[call_number]
63 [last_Call-ID:]
64 [last_CSeq:]
65 [last_Contact:]
66 Content-Length: 0
67 ]]>
68 </send>
69
Alexandre Lision94f06ba2013-12-09 16:28:33 -050070 <!-- IP CHANGE FOR 200/OK -->
71
Tristan Matthews0a329cc2013-07-17 13:20:14 -040072 <recv request="REGISTER" crlf="true">
73 </recv>
74
75 <send>
76 <![CDATA[
Alexandre Lision94f06ba2013-12-09 16:28:33 -050077 SIP/2.0 401 Unauthorized
78 [last_Via:];received=5.5.5.5;rport=5555
Tristan Matthews0a329cc2013-07-17 13:20:14 -040079 [last_From:]
80 [last_To:];tag=[call_number]
81 [last_Call-ID:]
82 [last_CSeq:]
83 [last_Contact:]
Alexandre Lision94f06ba2013-12-09 16:28:33 -050084 WWW-Authenticate: digest realm="test"
Tristan Matthews0a329cc2013-07-17 13:20:14 -040085 Content-Length: 0
86 ]]>
87 </send>
88
Tristan Matthews0a329cc2013-07-17 13:20:14 -040089 <recv request="REGISTER" crlf="true">
90 </recv>
91
92 <send>
93 <![CDATA[
Alexandre Lision94f06ba2013-12-09 16:28:33 -050094 SIP/2.0 401 Nasty Unauthorized
95 [last_Via:];received=6.6.6.6;rport=6666
Tristan Matthews0a329cc2013-07-17 13:20:14 -040096 [last_From:]
97 [last_To:];tag=[call_number]
98 [last_Call-ID:]
99 [last_CSeq:]
100 [last_Contact:]
Alexandre Lision94f06ba2013-12-09 16:28:33 -0500101 WWW-Authenticate: digest realm="test", stale=true
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400102 Content-Length: 0
103 ]]>
104 </send>
105
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400106 <recv request="REGISTER" crlf="true">
107 </recv>
108
109 <send>
110 <![CDATA[
111 SIP/2.0 200 OK
Alexandre Lision94f06ba2013-12-09 16:28:33 -0500112 [last_Via:];received=8.8.8.8;rport=8888
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400113 [last_From:]
114 [last_To:];tag=[call_number]
115 [last_Call-ID:]
116 [last_CSeq:]
117 [last_Contact:]
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400118 Content-Length: 0
119 ]]>
120 </send>
121
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400122 <recv request="REGISTER" crlf="true">
123 </recv>
124
125 <send>
126 <![CDATA[
127 SIP/2.0 200 OK
Alexandre Lision94f06ba2013-12-09 16:28:33 -0500128 [last_Via:];received=8.8.8.8;rport=8888
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400129 [last_From:]
130 [last_To:];tag=[call_number]
131 [last_Call-ID:]
132 [last_CSeq:]
133 [last_Contact:]
Tristan Matthews0a329cc2013-07-17 13:20:14 -0400134 Content-Length: 0
135 ]]>
136 </send>
137
138 <!-- definition of the response time repartition table (unit is ms) -->
139 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
140
141 <!-- definition of the call length repartition table (unit is ms) -->
142 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
143
144</scenario>
145