uac-subscribe.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE scenario SYSTEM "sipp.dtd">
  3. <!-- This program is free software; you can redistribute it and/or -->
  4. <!-- modify it under the terms of the GNU General Public License as -->
  5. <!-- published by the Free Software Foundation; either version 2 of the -->
  6. <!-- License, or (at your option) any later version. -->
  7. <!-- -->
  8. <!-- This program is distributed in the hope that it will be useful, -->
  9. <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  10. <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
  11. <!-- GNU General Public License for more details. -->
  12. <!-- -->
  13. <!-- You should have received a copy of the GNU General Public License -->
  14. <!-- along with this program; if not, write to the -->
  15. <!-- Free Software Foundation, Inc., -->
  16. <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
  17. <!-- -->
  18. <!-- -->
  19. <scenario name="UAC presence">
  20. <!-- UAC Presence -->
  21. <send retrans="500">
  22. <![CDATA[
  23. SUBSCRIBE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  24. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  25. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  26. To: sut <sip:[service]@[remote_ip]:[remote_port]>
  27. Call-ID: [call_id]
  28. CSeq: 1 SUBSCRIBE
  29. Contact: sip:sipp@[local_ip]:[local_port]
  30. Max-Forwards: 70
  31. Subject: Performance Test
  32. Event: presence
  33. Expires: 600
  34. Accept: application/pidf+xml, application/xpidf+xml
  35. Allow-Events: presence, refer
  36. Content-Length: 0
  37. ]]>
  38. </send>
  39. <recv response="200" rtd="true">
  40. </recv>
  41. <recv request="NOTIFY" crlf="true">
  42. </recv>
  43. <send>
  44. <![CDATA[
  45. SIP/2.0 200 OK
  46. [last_Via:]
  47. [last_From:]
  48. [last_To:]
  49. [last_Call-ID:]
  50. [last_CSeq:]
  51. Content-Length: 0
  52. ]]>
  53. </send>
  54. <send retrans="500">
  55. <![CDATA[
  56. SUBSCRIBE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
  57. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  58. From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
  59. To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  60. Call-ID: [call_id]
  61. CSeq: 2 SUBSCRIBE
  62. Contact: sip:sipp@[local_ip]:[local_port]
  63. Max-Forwards: 70
  64. Subject: Performance Test
  65. Event: presence
  66. Expires: 0
  67. Accept: application/pidf+xml, application/xpidf+xml
  68. Allow-Events: presence, refer
  69. Content-Length: 0
  70. ]]>
  71. </send>
  72. <recv response="200" rtd="true">
  73. </recv>
  74. <recv request="NOTIFY" crlf="true">
  75. </recv>
  76. <send>
  77. <![CDATA[
  78. SIP/2.0 200 OK
  79. [last_Via:]
  80. [last_From:]
  81. [last_To:]
  82. [last_Call-ID:]
  83. [last_CSeq:]
  84. Content-Length: 0
  85. ]]>
  86. </send>
  87. <!-- definition of the response time repartition table (unit is ms) -->
  88. <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  89. <!-- definition of the call length repartition table (unit is ms) -->
  90. <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
  91. </scenario>