1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE scenario SYSTEM "sipp.dtd">
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. -->
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. -->
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 -->
21
<!-- Re-INVITE with bad Via branch (it has the same branch as the
22
previous INVITE (ticket #965) will cause assertion
26
<scenario name="UAC re-INVITE with bad Via branch">
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]>
36
Contact: sip:sipp@[local_ip]:[local_port]
38
Subject: Performance Test
39
Content-Type: application/sdp
43
o=Tester 234 123 IN IP4 127.0.0.1
47
m=audio 17424 RTP/AVP 0 101
48
a=rtpmap:101 telephone-event/8000
58
<recv response="180" optional="true">
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">
67
<!-- Packet lost can be simulated in any send/recv message by -->
68
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
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]
78
Contact: sip:sipp@[local_ip]:[local_port]
80
Subject: Performance Test
87
<!-- Re-INVITE with Via branch value the same as previous INVITE -->
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]
97
Contact: sip:sipp@[local_ip]:[local_port]
99
Subject: Performance Test
100
Content-Type: application/sdp
101
Content-Length: [len]
104
o=Tester 234 124 IN IP4 127.0.0.1
108
m=audio 17424 RTP/AVP 0 101
109
a=rtpmap:101 telephone-event/8000
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">
121
<!-- Packet lost can be simulated in any send/recv message by -->
122
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
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]
132
Contact: sip:sipp@[local_ip]:[local_port]
134
Subject: Performance Test
141
<pause milliseconds="2000"/>
144
<!-- The 'crlf' option inserts a blank line in the statistics report. -->
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]
154
Contact: sip:sipp@[local_ip]:[local_port]
156
Subject: Performance Test
162
<recv response="200" crlf="true">
166
<!-- definition of the response time repartition table (unit is ms) -->
167
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
169
<!-- definition of the call length repartition table (unit is ms) -->
170
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>