| 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 | <!-- Sipp default 'uas' scenario. --> |
| 20 | <!-- --> |
| 21 | |
| 22 | <scenario name="UAS authorization server"> |
| 23 | <recv request="REGISTER" crlf="true"> |
| 24 | </recv> |
| 25 | |
| 26 | <send> |
| 27 | <![CDATA[ |
| 28 | |
| 29 | SIP/2.0 401 Unauthorized |
| 30 | [last_Via:] |
| 31 | [last_From:] |
| 32 | [last_To:];tag=[call_number] |
| 33 | [last_Call-ID:] |
| 34 | [last_CSeq:] |
| 35 | WWW-Authenticate: digest realm="test",stale=true |
| 36 | ]]> |
| 37 | </send> |
| 38 | |
| 39 | |
| 40 | <recv request="REGISTER" crlf="true"> |
| 41 | </recv> |
| 42 | |
| 43 | <send> |
| 44 | <![CDATA[ |
| 45 | |
| 46 | SIP/2.0 200 OK |
| 47 | [last_Via:] |
| 48 | [last_From:] |
| 49 | [last_To:];tag=[call_number] |
| 50 | [last_Call-ID:] |
| 51 | [last_CSeq:] |
| 52 | Expires: 30 |
| 53 | ]]> |
| 54 | </send> |
| 55 | |
| 56 | |
| 57 | <!-- definition of the response time repartition table (unit is ms) --> |
| 58 | <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> |
| 59 | |
| 60 | <!-- definition of the call length repartition table (unit is ms) --> |
| 61 | <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> |
| 62 | |
| 63 | </scenario> |
| 64 |