Under Version 3.0 the attached scenario worked right. But since I am using sipp 
3.1 (SIPp v3.1-TLS-PCAP, version unknown, built Apr 29 2008, 14:46:06.) 
the following error occurs with the same scenario:

--->  The label 'stop_now' was not defined (index 3, ontimeout attribute)

What is going wrong, a reference to such a label does not exist?
 
 
Thank You, Wolfgang

Deutsche Telekom AG 
Zentrum Technik Einführung 
Wolfgang Kanngießer 
Winterfeldtstraße 21, D-10781 Berlin

 
 
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!--	Referenz:	ETSI TS 102 027
	TPId:		SIP_RG_RT_V_018
	Ref:		RFC 3261 [1] sections 8.1.3.5 and 22.2.
	Purpose: 	Ensure that the IUT having sent a REGISTER request, on receipt of an Unauthorized (401
			Unauthorized) response including a WWW-Authenticate header, repeats its REGISTER request
			with an Authorization header including proper values for username, realm nonce, digest-uri and
			response HTTP parameters.  -->

<scenario name="msan_reg_bv-008a">

  <nop>
    <action>
      <exec command="echo 'tc_start: msan_reg_bv-008a' | nc -unq0 [field0] [field1]"/>
    </action>
  </nop>
  
  <recv request="REGISTER" rrs="true"/>

  <send>
    <![CDATA[
      SIP/2.0 401 Unauthorized
      [last_Via:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      [last_CSeq:]
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      WWW-Authenticate: Digest realm="sipp", nonce="6e5c04ee"
      Content-Length: 0
    ]]>
  </send>

  <recv request="REGISTER" rrs="true" timeout="5000" ontimeout="1"/>

  <send>
    <![CDATA[
    
      SIP/2.0 200 OK
      [last_Via:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      [last_CSeq:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: 0
      Expires: 30

    ]]>
  </send>
  
  <nop>
    <action>
      <exec command="echo 'pass' | nc -unq0 [field0] [field1]"/>
      <exec int_cmd="stop_now"/>
    </action>
  </nop>

<label id="1"/>

  <nop>
    <action>
      <exec command="echo 'fail' | nc -unq0 [field0] [field1]"/>
      <exec int_cmd="stop_now"/>
    </action>
  </nop>

</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to