Hi Evgeny

You could try substituting &lt; for the < character. This seems to tell the XML 
parser that the < is not the start of an XML tag. You can use &gt; for > too. 

See http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg01293.html

Geoff Hunt
BT Design

Tel: 01473 651704
Email: geoff.h...@bt.com
We monitor our email system, and may record your emails. 
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no: 1800000 

>   4. HowTo call Netcat from scenario file (Evgeny Miloslavsky)

>Message: 4
>Date: Sun, 4 Jul 2010 06:24:42 +0100
>From: Evgeny Miloslavsky <emiloslav...@juniper.net>
>Subject: [Sipp-users] HowTo call Netcat from scenario file
>To: <sipp-users@lists.sourceforge.net>
>Message-ID:
>       <b34261034c5a2148aac240d5a8e5c42d0de8c...@emailemea4.jnpr.net>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi All!
>
>During my scenario I have to call Netcat using the following command:
>
>nc IP_Addr Port -s Local_IP_Addr -p Local_Port < PayloadFile.cap
>
>I'm doing so by:
>
><nop>
>
>  <action>
>
>          <exec command=" nc6 192.16.88.27 3216 -s 192.16.22.46 -p 1180
>< PayloadFile.cap"/>
>
>  </action>
>
></nop>
>
>
>
>The problem is that SIPp interpret the "<" within external command as
>opening of a new tag and fails to "understand" rest of the scenario.
>
>Any advices?
>
>
>
>Regards,
>
>Evgeny Miloslavsky
>
>Systest Engineer
>
>Juniper Networks Solutions Israel LTD.
>
>Office: +(972)-74-7170072

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to