Hi all,
I'm trying to generate resgistration using ims_bench the result is from
8000 registration ,15 Failed.
,it appears error log in TS Sipp like this:
2010-02-06 12:17:53.169:
C:'395-5...@10.14.18.211<c%3a%27395-5...@10.14.18.211>'
UNEXP-Jump(2) L=9 expecting '200' rsp, rcv 'SIP/2.0 401 Unauthorized -
Challenging the UE
Via: SIP/2.0/UDP 10.14.18.211:8007;rport=8007;branch=z9hG4bK-5044-395-4
From: "agung_8507"
<sip:agung_8...@ims.telkom.co.id<sip%3aagung_8...@ims.telkom.co.id>
>;tag=395
To: "agung_8507"
<sip:agung_8...@ims.telkom.co.id<sip%3aagung_8...@ims.telkom.co.id>
>;tag=a8af36e58018f7af01ea3f5d2ae751dd-6098
Call-ID: 395-5...@10.14.18.211
CSeq: 2 REGISTER
Path: <sip:t...@pcscf.ims.telkom.co.id <sip%3at...@pcscf.ims.telkom.co.id>
;lr>
Service-Route:
<sip:o...@scscf.ims.telkom.co.id<sip%3ao...@scscf.ims.telkom.co.id>
;lr>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH,
MESSAGE, INFO
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (x86_64/linux))
Content-Length: 0
Warning: 392 10.14.18.17:5060 "Noisy feedback tells: pid=4586
req_src_ip=10.14.18.16 req_src_port=5060
in_uri=sip:scscf.ims.telkom.co.idout_uri=sip:
scscf.ims.telkom.co.id via_cnt==3"
WWW-Authenticate: Digest realm="ims.telkom.co.id",
nonce="Eaex6BNkHef45vTyYkbdhT2KUu7LwwAARkj53zgRvJA=", algorithm=AKAv1-MD5
any have any idea with this problem ?
agung aryo,
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- This program is free software; you can redistribute it and/or -->
<!-- modify it under the terms of the GNU General Public License as -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- License, or (at your option) any later version. -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the -->
<!-- Free Software Foundation, Inc., -->
<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
<!-- -->
<!-- IMS Benchmark Registration scenario -->
<!-- -->
<!-- Author : David Verbeiren from Intel Corporation - July 2007 -->
<!-- Xavier Simonart from Intel Corporation - July 2007 -->
<!-- Philippe Lecluse from Intel Corporation - July 2007 -->
<!-- -->
<scenario name="ims_reg" on_unexpected="9" default_behavior="false">
<info>
<metric ref="PX_TRT-REG1" rtd="1" max="2000"/>
<metric ref="PX_TRT-REG2" rtd="2" max="2000"/>
</info>
<!-- *** STEP 1 *** -->
<!-- Select a user from the 'Unregistered' pool and place it into a -->
<!-- '(De)Registration ongoing' pool so we don't register it multiple times -->
<!-- in parallel. -->
<nop>
<action>
<assign_user pool="0" scheme="rand_uni"/> <!-- 'Unregistered' user -->
<move_user pool="1"/> <!-- Registration ongoing -->
</action>
</nop>
<!-- *** STEP 2 *** -->
<!-- Now that our preparation step is done, we wait for the time when the scenario -->
<!-- must actually start, according to the random scenario arrival distribution. -->
<sync crlf="true">
<action>
<exec int_cmd="set_start_time"/>
</action>
</sync>
<!-- *** STEP 3 *** -->
<!-- Now the SIP scenario really starts -->
<send retrans="500" start_rtd="1">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: "[field0]" <sip:[fiel...@[field1]>;tag=[call_number]
To: "[field0]" <sip:[fiel...@[field1]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: <sip:[fiel...@[local_ip]:[local_port]>;expires=[%RegistrationExpire]
Expires: [%RegistrationExpire]
Content-Length: 0
Authorization: Digest username="[fiel...@[field3]", realm="[field3]"
Supported: path
]]>
</send>
<recv response="401" auth="true" auth_assign_to="u2" rtd="1">
</recv>
<send retrans="500" start_rtd="2">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: "[field0]" <sip:[fiel...@[field1]>;tag=[call_number]
To: "[field0]" <sip:[fiel...@[field1]>
Call-ID: [call_id]
CSeq: 2 REGISTER
Contact: <sip:[fiel...@[local_ip]:[local_port]>;expires=[%RegistrationExpire]
Expires: [%RegistrationExpire]
Content-Length: 0
[authentication username=[fiel...@[field3] password=[field4]]
Supported: path
]]>
</send>
<recv response="200" rtd="2" crlf="true" next="10">
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route:" check_it="true" assign_to="u1" />
<!-- We store the Service-Route indicated by the SUT into a user variable -->
<!-- because we must use it as Route for subsequent dialogs we'll initiate -->
<!-- as part of executing other scenarios for the registered user. -->
<move_user pool="2"/> <!-- User is now 'Registered' -->
</action>
</recv>
<label id="9"/> <!-- FAILURE CASE -->
<nop>
<action>
<move_user pool="0"/> <!-- We ASSUME user is still 'Not Registered' -->
</action>
</nop>
<label id="10"/> <!-- END OF SCENARIO -->
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10"/>
</scenario>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users