blob: c42e95143bd89f7312115a7d59d4c2b5365cc435 [file] [log] [blame]
Alexandre Lision8af73cb2013-12-10 14:11:20 -05001<?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<scenario name="UAC presence">
22 <!-- UAC Presence -->
23 <send retrans="500">
24 <![CDATA[
25
26 SUBSCRIBE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
27 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
28 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
29 To: sut <sip:[service]@[remote_ip]:[remote_port]>
30 Call-ID: [call_id]
31 CSeq: 1 SUBSCRIBE
32 Contact: sip:sipp@[local_ip]:[local_port]
33 Max-Forwards: 70
34 Subject: Performance Test
35 Event: presence
36 Expires: 600
37 Accept: application/pidf+xml, application/xpidf+xml
38 Allow-Events: presence, refer
39 Content-Length: 0
40
41 ]]>
42 </send>
43
44 <recv response="200" rtd="true">
45 </recv>
46
47 <recv request="NOTIFY" crlf="true">
48 </recv>
49
50 <send>
51 <![CDATA[
52
53 SIP/2.0 200 OK
54 [last_Via:]
55 [last_From:]
56 [last_To:]
57 [last_Call-ID:]
58 [last_CSeq:]
59 Content-Length: 0
60
61 ]]>
62 </send>
63
64 <send retrans="500">
65 <![CDATA[
66
67 SUBSCRIBE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
68 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
69 From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
70 To: sut <sip:[service]@[remote_ip]:[remote_port]>
71 Call-ID: [call_id]
72 CSeq: 2 SUBSCRIBE
73 Contact: sip:sipp@[local_ip]:[local_port]
74 Max-Forwards: 70
75 Subject: Performance Test
76 Event: presence
77 Expires: 0
78 Accept: application/pidf+xml, application/xpidf+xml
79 Allow-Events: presence, refer
80 Content-Length: 0
81
82 ]]>
83 </send>
84
85 <recv response="200" rtd="true">
86 </recv>
87
88 <recv request="NOTIFY" crlf="true">
89 </recv>
90
91 <send>
92 <![CDATA[
93
94 SIP/2.0 200 OK
95 [last_Via:]
96 [last_From:]
97 [last_To:]
98 [last_Call-ID:]
99 [last_CSeq:]
100 Content-Length: 0
101
102 ]]>
103 </send>
104
105
106 <!-- definition of the response time repartition table (unit is ms) -->
107 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
108
109 <!-- definition of the call length repartition table (unit is ms) -->
110 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
111
112</scenario>
113