Hello,
I'm currently evaluating the use of SIPp for testing various VoIP
solutions and am having difficulties in configuring a scenario for
testing SIP authentication.
I've attached my XML scenario which is executed as "./sipp -sf
testing_uac_02.xml <destination IP>". After receiving the 401 Challenge
and sending the response include the "authentication" keyword as
described in the SIPp documentation, the application terminates with the
error message:
"2007-01-03 15:25:32: Unsupported keyword 'authentication username=X
password=X' in xml scenario file."
Does anyone have any guidance as to why this simple example is not
working?
Regards,
Justin
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="UAC REGISTER Test">
<send>
<![CDATA[
REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
From: Comwave SIP Test <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: Comwave SIP Test <sip:[EMAIL PROTECTED]:[remote_port]>
Subject: Comwave SIP Performance Test
Call-ID: [call_id]
Cseq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Expires: 300
Max-Forwards: 70
User-Agent: Comwave SIPp Test Script
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE
Content-Length: [len]
]]>
</send>
<label id="4"/>
<recv response="200" optional="true" next="1"/>
<recv response="503" optional="true" next="2"/>
<recv response="401" auth="true" next="3"/>
<label id="3"/>
<send>
<![CDATA[
ACK sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
From: Comwave SIP Test <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: Comwave SIP Test <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
Cseq: 1 ACK
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<send next="4">
<![CDATA[
REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
From: Comwave SIP Test <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: Comwave SIP Test <sip:[EMAIL PROTECTED]:[remote_port]>
Subject: Comwave SIP Performance Test
Call-ID: [call_id]
Cseq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
[authentication username=X password=X]
Expires: 300
Max-Forwards: 70
User-Agent: Comwave SIPp Test Script
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE
Content-Length: [len]
]]>
</send>
<label id="2"/>
<send>
<![CDATA[
ACK sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
From: Comwave SIP Test <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
To: Comwave SIP Test <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
Cseq: 1 ACK
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<label id="1"/>
<pause milliseconds="5000"/>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users