parent
32225e0da9
commit
7a46e049cb
@ -0,0 +1,29 @@
|
||||
# REGISTER scenario
|
||||
flow:
|
||||
- start|MAIN:
|
||||
$fU: testuser1003
|
||||
$tU: testuser1003
|
||||
- start|ROUTE_NET_INFO:
|
||||
$fU: testuser1003
|
||||
$tU: testuser1003
|
||||
- end|ROUTE_NET_INFO:
|
||||
$fU: testuser1003
|
||||
$tU: testuser1003
|
||||
- start|ROUTE_REG_REQUEST:
|
||||
- start|ROUTE_REG_HANDLE:
|
||||
- start|ROUTE_AUTH:
|
||||
- exit|ROUTE_AUTH:
|
||||
sip_in:
|
||||
- '^REGISTER'
|
||||
- 'Contact: sip:testuser1003@'
|
||||
- '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,35 @@
|
||||
# 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: sip:testuser1003@'
|
||||
- 'Content-Length: 0'
|
||||
- 'Expires: 600'
|
||||
- 'Authorization: Digest username="testuser1003"'
|
||||
sip_out:
|
||||
- [
|
||||
'^SIP/2.0 100 Trying',
|
||||
'Content-Length: 0'
|
||||
]
|
||||
- [
|
||||
'^SIP/2.0 200 OK',
|
||||
'Content-Length: 0',
|
||||
'P-NGCP-Authorization: testuser1003@',
|
||||
'P-NGCP-Authorized: 1'
|
||||
]
|
||||
@ -0,0 +1,3 @@
|
||||
testuser1003@127.0.0.1:
|
||||
allowed_ips: [ "1.2.3.4" ]
|
||||
ignore_allowed_ips: 1
|
||||
@ -0,0 +1,55 @@
|
||||
<?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"]@[field3 file="callee.csv"] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="callee.csv"]@[field3 file="callee.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv"]@[field3 file="callee.csv"]>
|
||||
Call-ID: [call_id]
|
||||
CSeq: 1 REGISTER
|
||||
Contact: sip:[field0 file="callee.csv"]@[local_ip]:50603
|
||||
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"]@[field3 file="callee.csv"] SIP/2.0
|
||||
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
||||
From: <sip:[field0 file="callee.csv"]@[field3 file="callee.csv"]>;tag=[pid]SIPpTag00[call_number]
|
||||
To: <sip:[field0 file="callee.csv"]@[field3 file="callee.csv"]>
|
||||
Call-ID: [call_id]
|
||||
CSeq: 2 REGISTER
|
||||
[field2 file="callee.csv"]
|
||||
Contact: sip:[field0 file="callee.csv"]@[local_ip]:50603
|
||||
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…
Reference in new issue