Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?>
|
| 2 | <!DOCTYPE scenario SYSTEM "sipp.dtd">
|
| 3 |
|
| 4 | <!-- This program is free software; you can redistribute it and/or -->
|
| 5 | <!-- modify it under the terms of the GNU General Public License as -->
|
| 6 | <!-- published by the Free Software Foundation; either version 2 of the -->
|
| 7 | <!-- License, or (at your option) any later version. -->
|
| 8 | <!-- -->
|
| 9 | <!-- This program is distributed in the hope that it will be useful, -->
|
| 10 | <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
|
| 11 | <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
|
| 12 | <!-- GNU General Public License for more details. -->
|
| 13 | <!-- -->
|
| 14 | <!-- You should have received a copy of the GNU General Public License -->
|
| 15 | <!-- along with this program; if not, write to the -->
|
| 16 | <!-- Free Software Foundation, Inc., -->
|
| 17 | <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
|
| 18 | <!-- -->
|
| 19 | <!-- -->
|
| 20 |
|
| 21 | <!-- Re-INVITE with bad Via branch (it has the same branch as the
|
| 22 | previous INVITE (ticket #965) will cause assertion
|
| 23 | -->
|
| 24 |
|
| 25 |
|
| 26 | <scenario name="UAC re-INVITE with bad Via branch">
|
| 27 | <send retrans="500">
|
| 28 | <![CDATA[
|
| 29 |
|
| 30 | INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
|
| 31 | Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
|
| 32 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
|
| 33 | To: sut <sip:[service]@[remote_ip]:[remote_port]>
|
| 34 | Call-ID: [call_id]
|
| 35 | CSeq: 1 INVITE
|
| 36 | Contact: sip:sipp@[local_ip]:[local_port]
|
| 37 | Max-Forwards: 70
|
| 38 | Subject: Performance Test
|
| 39 | Content-Type: application/sdp
|
| 40 | Content-Length: [len]
|
| 41 |
|
| 42 | v=0
|
| 43 | o=Tester 234 123 IN IP4 127.0.0.1
|
| 44 | s=Tester
|
| 45 | c=IN IP4 127.0.0.1
|
| 46 | t=0 0
|
| 47 | m=audio 17424 RTP/AVP 0 101
|
| 48 | a=rtpmap:101 telephone-event/8000
|
| 49 | a=sendrecv
|
| 50 |
|
| 51 | ]]>
|
| 52 | </send>
|
| 53 |
|
| 54 | <recv response="100"
|
| 55 | optional="true">
|
| 56 | </recv>
|
| 57 |
|
| 58 | <recv response="180" optional="true">
|
| 59 | </recv>
|
| 60 |
|
| 61 | <!-- By adding rrs="true" (Record Route Sets), the route sets -->
|
| 62 | <!-- are saved and used for following messages sent. Useful to test -->
|
| 63 | <!-- against stateful SIP proxies/B2BUAs. -->
|
| 64 | <recv response="200" rtd="true">
|
| 65 | </recv>
|
| 66 |
|
| 67 | <!-- Packet lost can be simulated in any send/recv message by -->
|
| 68 | <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
|
| 69 | <send>
|
| 70 | <![CDATA[
|
| 71 |
|
| 72 | ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
|
| 73 | Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-2
|
| 74 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
|
| 75 | To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
|
| 76 | Call-ID: [call_id]
|
| 77 | CSeq: 1 ACK
|
| 78 | Contact: sip:sipp@[local_ip]:[local_port]
|
| 79 | Max-Forwards: 70
|
| 80 | Subject: Performance Test
|
| 81 | Content-Length: 0
|
| 82 |
|
| 83 | ]]>
|
| 84 | </send>
|
| 85 |
|
| 86 |
|
| 87 | <!-- Re-INVITE with Via branch value the same as previous INVITE -->
|
| 88 | <send retrans="500">
|
| 89 | <![CDATA[
|
| 90 |
|
| 91 | INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
|
| 92 | Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
|
| 93 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
|
| 94 | To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
|
| 95 | Call-ID: [call_id]
|
| 96 | CSeq: 2 INVITE
|
| 97 | Contact: sip:sipp@[local_ip]:[local_port]
|
| 98 | Max-Forwards: 70
|
| 99 | Subject: Performance Test
|
| 100 | Content-Type: application/sdp
|
| 101 | Content-Length: [len]
|
| 102 |
|
| 103 | v=0
|
| 104 | o=Tester 234 124 IN IP4 127.0.0.1
|
| 105 | s=Tester
|
| 106 | c=IN IP4 127.0.0.1
|
| 107 | t=0 0
|
| 108 | m=audio 17424 RTP/AVP 0 101
|
| 109 | a=rtpmap:101 telephone-event/8000
|
| 110 |
|
| 111 |
|
| 112 | ]]>
|
| 113 | </send>
|
| 114 |
|
| 115 | <!-- By adding rrs="true" (Record Route Sets), the route sets -->
|
| 116 | <!-- are saved and used for following messages sent. Useful to test -->
|
| 117 | <!-- against stateful SIP proxies/B2BUAs. -->
|
| 118 | <recv response="500" rtd="true">
|
| 119 | </recv>
|
| 120 |
|
| 121 | <!-- Packet lost can be simulated in any send/recv message by -->
|
| 122 | <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
|
| 123 | <send>
|
| 124 | <![CDATA[
|
| 125 |
|
| 126 | ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
|
| 127 | Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1
|
| 128 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
|
| 129 | To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
|
| 130 | Call-ID: [call_id]
|
| 131 | CSeq: 2 ACK
|
| 132 | Contact: sip:sipp@[local_ip]:[local_port]
|
| 133 | Max-Forwards: 70
|
| 134 | Subject: Performance Test
|
| 135 | Content-Length: 0
|
| 136 |
|
| 137 | ]]>
|
| 138 | </send>
|
| 139 |
|
| 140 |
|
| 141 | <pause milliseconds="2000"/>
|
| 142 |
|
| 143 |
|
| 144 | <!-- The 'crlf' option inserts a blank line in the statistics report. -->
|
| 145 | <send retrans="500">
|
| 146 | <![CDATA[
|
| 147 |
|
| 148 | BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
|
| 149 | Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
| 150 | From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
|
| 151 | To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
|
| 152 | Call-ID: [call_id]
|
| 153 | CSeq: 3 BYE
|
| 154 | Contact: sip:sipp@[local_ip]:[local_port]
|
| 155 | Max-Forwards: 70
|
| 156 | Subject: Performance Test
|
| 157 | Content-Length: 0
|
| 158 |
|
| 159 | ]]>
|
| 160 | </send>
|
| 161 |
|
| 162 | <recv response="200" crlf="true">
|
| 163 | </recv>
|
| 164 |
|
| 165 |
|
| 166 | <!-- definition of the response time repartition table (unit is ms) -->
|
| 167 | <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
|
| 168 |
|
| 169 | <!-- definition of the call length repartition table (unit is ms) -->
|
| 170 | <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
|
| 171 |
|
| 172 | </scenario>
|
| 173 |
|