Changeset 5072


Ignore:
Timestamp:
Apr 16, 2015 4:55:25 AM (10 years ago)
Author:
nanang
Message:

Re #1842: Still on sipp/uac-reinvite-bad-via-branch.xml, fixed missing stuff in retry scenario, e.g: sequence number increment, To tag, wait for old tsx destroy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/scripts-sipp/uac-reinvite-bad-via-branch.xml

    r5071 r5072  
    2828  <label id="1"/> 
    2929   
    30   <send retrans="500"> 
     30  <send> 
    3131    <![CDATA[ 
    3232 
     
    3434      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1 
    3535      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] 
    36       To: sut <sip:[service]@[remote_ip]:[remote_port]> 
    37       Call-ID: [call_id] 
    38       CSeq: 1 INVITE 
     36      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
     37      Call-ID: [call_id] 
     38      CSeq: [cseq] INVITE 
    3939      Contact: sip:sipp@[local_ip]:[local_port] 
    4040      Max-Forwards: 70 
     
    7878      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
    7979      Call-ID: [call_id] 
    80       CSeq: 1 ACK 
    81       Contact: sip:sipp@[local_ip]:[local_port] 
    82       Max-Forwards: 70 
    83       Subject: Performance Test 
    84       Content-Length: 0 
    85  
    86     ]]> 
    87   </send> 
    88  
     80      CSeq: [cseq] ACK 
     81      Contact: sip:sipp@[local_ip]:[local_port] 
     82      Max-Forwards: 70 
     83      Subject: Performance Test 
     84      Content-Length: 0 
     85 
     86    ]]> 
     87  </send> 
     88 
     89  <!-- Uncomment this to the test retry/looping scenario --> 
     90  <!--pause distribution="uniform" min="0" max="100"/--> 
    8991 
    9092  <!-- Re-INVITE with Via branch value the same as previous INVITE --> 
    91   <send retrans="500"> 
     93  <send> 
    9294    <![CDATA[ 
    9395 
     
    9799      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
    98100      Call-ID: [call_id] 
    99       CSeq: 2 INVITE 
     101      CSeq: [cseq+1] INVITE 
    100102      Contact: sip:sipp@[local_ip]:[local_port] 
    101103      Max-Forwards: 70 
     
    138140      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
    139141      Call-ID: [call_id] 
    140       CSeq: 2 ACK 
    141       Contact: sip:sipp@[local_ip]:[local_port] 
    142       Max-Forwards: 70 
    143       Subject: Performance Test 
    144       Content-Length: 0 
    145  
    146     ]]> 
    147   </send> 
    148  
    149  
    150   <pause milliseconds="2000"/> 
     142      CSeq: [cseq] ACK 
     143      Contact: sip:sipp@[local_ip]:[local_port] 
     144      Max-Forwards: 70 
     145      Subject: Performance Test 
     146      Content-Length: 0 
     147 
     148    ]]> 
     149  </send> 
     150 
     151 
     152  <pause milliseconds="500"/> 
    151153 
    152154 
    153155  <!-- The 'crlf' option inserts a blank line in the statistics report. --> 
    154   <send retrans="500"> 
     156  <send> 
    155157    <![CDATA[ 
    156158 
     
    160162      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
    161163      Call-ID: [call_id] 
    162       CSeq: 3 BYE 
     164      CSeq: [cseq+1] BYE 
    163165      Contact: sip:sipp@[local_ip]:[local_port] 
    164166      Max-Forwards: 70 
     
    175177 
    176178  <!-- Send ACK before repeating the scenario                           --> 
    177   <send next="1"> 
     179  <send> 
    178180    <![CDATA[ 
    179181 
     
    183185      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
    184186      Call-ID: [call_id] 
    185       CSeq: 2 ACK 
    186       Contact: sip:sipp@[local_ip]:[local_port] 
    187       Max-Forwards: 70 
    188       Subject: Performance Test 
    189       Content-Length: 0 
    190  
    191     ]]> 
    192   </send> 
    193  
     187      CSeq: [cseq] ACK 
     188      Contact: sip:sipp@[local_ip]:[local_port] 
     189      Max-Forwards: 70 
     190      Subject: Performance Test 
     191      Content-Length: 0 
     192 
     193    ]]> 
     194  </send> 
     195 
     196  <!-- Wait for this tsx getting destroyed before restarting --> 
     197  <pause milliseconds="5100" next="1"/> 
     198   
    194199   
    195200  <label id="10"/> 
Note: See TracChangeset for help on using the changeset viewer.