MT#5565 register_bria: Add another registered user first

mr3.2.1
Victor Seva 12 years ago
parent 764528b6af
commit ed91cb2f43

@ -1,11 +1,11 @@
# REGISTER scenario
flow:
- start|MAIN:
$fU: testuser1003
$tU: testuser1003
$fU: testuser1004
$tU: testuser1004
- start|ROUTE_NET_INFO:
$fU: testuser1003
$tU: testuser1003
$fU: testuser1004
$tU: testuser1004
- end|ROUTE_NET_INFO:
- start|ROUTE_REG_REQUEST:
- start|ROUTE_REG_HANDLE:
@ -13,7 +13,7 @@ flow:
- exit|ROUTE_AUTH:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1004@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Content-Length: 0'
- 'Expires: 600'
sip_out:

@ -1,11 +1,11 @@
# REGISTER scenario
flow:
- start|MAIN:
$fU: testuser1003
$tU: testuser1003
$fU: testuser1004
$tU: testuser1004
- start|ROUTE_NET_INFO:
$fU: testuser1003
$tU: testuser1003
$fU: testuser1004
$tU: testuser1004
- end|ROUTE_NET_INFO:
- start|ROUTE_REG_REQUEST:
- start|ROUTE_REG_HANDLE:
@ -18,10 +18,10 @@ flow:
- exit|ROUTE_REG_HANDLE:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1004@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Content-Length: 0'
- 'Expires: 600'
- 'Authorization: Digest username="testuser1003"'
- 'Authorization: Digest username="testuser1004"'
sip_out:
- [
'^SIP/2.0 100 Trying',
@ -29,8 +29,8 @@ sip_out:
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Contact: <sip:testuser1004@127.126.0.1:6666;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1003@',
'P-NGCP-Authorization: testuser1004@',
'P-NGCP-Authorized: 1'
]

@ -13,8 +13,7 @@ flow:
- exit|ROUTE_AUTH:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:50602;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;expires=0'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Content-Length: 0'
- 'Expires: 600'
sip_out:

@ -18,8 +18,7 @@ flow:
- exit|ROUTE_REG_HANDLE:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:50602;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;expires=0'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Content-Length: 0'
- 'Expires: 600'
- 'Authorization: Digest username="testuser1003"'
@ -30,8 +29,7 @@ sip_out:
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1003@127.126.0.1:50602;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'_:NOT:_Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=\d+',
'Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1003@',
'P-NGCP-Authorized: 1'

@ -0,0 +1,28 @@
# REGISTER scenario
flow:
- start|MAIN:
$fU: testuser1003
$tU: testuser1003
- start|ROUTE_NET_INFO:
$fU: testuser1003
$tU: testuser1003
- end|ROUTE_NET_INFO:
- start|ROUTE_REG_REQUEST:
- start|ROUTE_REG_HANDLE:
- start|ROUTE_AUTH:
- exit|ROUTE_AUTH:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:50602;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;expires=0'
- 'Content-Length: 0'
- 'Expires: 600'
sip_out:
- [
'^SIP/2.0 100 Trying',
'Content-Length: 0'
]
- [
'^SIP/2.0 401 Unauthorized',
'Content-Length: 0'
]

@ -0,0 +1,38 @@
# REGISTER scenario
flow:
- start|MAIN:
$fU: testuser1003
$tU: testuser1003
- start|ROUTE_NET_INFO:
$fU: testuser1003
$tU: testuser1003
- end|ROUTE_NET_INFO:
- start|ROUTE_REG_REQUEST:
- start|ROUTE_REG_HANDLE:
- start|ROUTE_AUTH:
- start|ROUTE_ADD_CALLINFO_REPLY:
- return|ROUTE_ADD_CALLINFO_REPLY:
- end|ROUTE_AUTH:
- start|ROUTE_PREFERENCES:
- end|ROUTE_PREFERENCES:
- exit|ROUTE_REG_HANDLE:
sip_in:
- '^REGISTER'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:50602;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
- 'Contact: "TestBria" <sip:testuser1003@127.126.0.1:6666;ob>;expires=0'
- 'Content-Length: 0'
- 'Expires: 600'
- 'Authorization: Digest username="testuser1003"'
sip_out:
- [
'^SIP/2.0 100 Trying',
'Content-Length: 0'
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1003@127.126.0.1:50602;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'_:NOT:_Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=\d+',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1003@',
'P-NGCP-Authorized: 1'
]

@ -1,11 +1,25 @@
subscribers:
spce.test:
testuser1004:
password: testuser
cc: 43
ac: 1
sn: 1004
testuser1003:
password: testuser
cc: 43
ac: 1
sn: 1003
scenarios:
- ip: 127.126.0.1
domain: spce.test
username: testuser1004
responders:
- ip: 127.2.0.1
domain: spce.test
register: no
username: testuser1004
active: no
- ip: 127.126.0.1
domain: spce.test
username: testuser1003

@ -5,14 +5,13 @@
<send>
<![CDATA[
REGISTER sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
REGISTER sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
From: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
Call-ID: [call_id]
CSeq: 3 REGISTER
Contact: "TestBria" <sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port];ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Contact: "TestBria" <sip:[field0 file="callee.csv" line=0]@[local_ip]:6666;ob>;expires=0
CSeq: 1 REGISTER
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:6666;ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Expires: 600
Max-Forwards: 70
Content-Length: 0
@ -23,28 +22,27 @@
<recv response="100"
optional="true">
</recv>
<recv response="401" auth="true"/>
<send>
<![CDATA[
REGISTER sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0] SIP/2.0
REGISTER sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
From: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
Call-ID: [call_id]
CSeq: 4 REGISTER
[field2 file="callee.csv" line=0]
Contact: "TestBria" <sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port];ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Contact: "TestBria" <sip:[field0 file="callee.csv" line=0]@[local_ip]:6666;ob>;expires=0
CSeq: 2 REGISTER
[field2 file="callee.csv" line=1]
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:6666;ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Expires: 600
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<recv response="100" optional="true">
</recv>

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Sipwise NGCP Benchmark UAS Registration">
<send>
<![CDATA[
REGISTER sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
Call-ID: [call_id]
CSeq: 3 REGISTER
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:[local_port];ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:6666;ob>;expires=0
Expires: 600
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<recv response="100"
optional="true">
</recv>
<recv response="401" auth="true"/>
<send>
<![CDATA[
REGISTER sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>;tag=[pid]SIPpTag00[call_number]
To: "TestBria" <sip:[field0 file="callee.csv" line=1]@[field3 file="callee.csv" line=1]>
Call-ID: [call_id]
CSeq: 4 REGISTER
[field2 file="callee.csv" line=1]
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:[local_port];ob>;reg-id=1;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"
Contact: "TestBria" <sip:[field0 file="callee.csv" line=1]@[local_ip]:6666;ob>;expires=0
Expires: 600
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="200">
</recv>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
</scenario>
Loading…
Cancel
Save