Ignore:
Timestamp:
Apr 15, 2015 12:55:54 PM (10 years ago)
Author:
nanang
Message:

Re #1842: Workaround for spurious failure in sipp/uac-reinvite-bad-via-branch.xml test, i.e: just retry the scenario. The failure is caused by race between SIPp sending re-INVITE vs transaction immediate termination (by SIP INVITE module when the session reaches CONFIRMED state).

File:
1 edited

Legend:

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

    r2953 r5071  
    2525 
    2626<scenario name="UAC re-INVITE with bad Via branch"> 
     27 
     28  <label id="1"/> 
     29   
    2730  <send retrans="500"> 
    2831    <![CDATA[ 
     
    113116  </send> 
    114117 
     118  <!-- Previous INVITE transaction may have been destroyed, and 200     --> 
     119  <!-- response is received, instead of 500. So, let's just try again,  --> 
     120  <!-- i.e: send ACK and repeat the scenario.                           --> 
     121  <recv response="200" optional="true" next="9"> 
     122  </recv> 
     123   
    115124  <!-- By adding rrs="true" (Record Route Sets), the route sets         --> 
    116125  <!-- are saved and used for following messages sent. Useful to test   --> 
     
    160169  </send> 
    161170 
    162   <recv response="200" crlf="true"> 
    163   </recv> 
    164  
     171  <recv response="200" crlf="true" next="10"> 
     172  </recv> 
     173 
     174  <label id="9"/> 
     175 
     176  <!-- Send ACK before repeating the scenario                           --> 
     177  <send next="1"> 
     178    <![CDATA[ 
     179 
     180      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0 
     181      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bKPj-1 
     182      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] 
     183      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] 
     184      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 
     194   
     195  <label id="10"/> 
    165196 
    166197  <!-- definition of the response time repartition table (unit is ms)   --> 
Note: See TracChangeset for help on using the changeset viewer.