SVI-STP SSME
Squire Technologies - Confidential Document
Page
52
of
57
For example testing the following endpoint
<
Ep
id
=
"instance-3-gtt-selector-3E164"
name
=
"instance-3-gtt-selector-3E164"
>
<
SCCPMatch
firstMatch
=
"true"
>
<
SCCPMatch
cdpn.digits
=
"0"
>
<
SCCPMatch
cdpn.digits
=
"06"
>
<
SCCPMatch
cdpn.digits
=
"069"
>
<
SCCPMatch
cdpn.digits
=
"0690"
destination
=
"11500"
id
=
"instance-3-gtt-selector-sm-186"
og.sccp.cdpn.ri
=
"RouteOnGT"
/>
<
SCCPMatch
cdpn.digits
=
"0694"
destination
=
"11500"
id
=
"instance-3-gtt-selector-sm-187"
og.sccp.cdpn.ri
=
"RouteOnGT"
/>
<
SCCPMatch
cdpn.digits
=
"0696"
destination
=
"11500"
id
=
"instance-3-gtt-selector-sm-188"
og.sccp.cdpn.ri
=
"RouteOnGT"
/>
</
SCCPMatch
>
</
SCCPMatch
>
</
SCCPMatch
>
</
SCCPMatch
>
</
Ep
>
The test would be set up as follows:
<
Test
epname
=
" instance-3-gtt-selector-3E164"
name
=
"MLR-Test-2951"
>
<
Input
ic.sccp.cdpn.digits
=
"0690"
/>
<
ExpectedOutput
destination
=
"11500"
og.sccp.cdpn.ri
=
"RouteOnGT"
ssmeResult
=
"Route"
/>
</
Test
>
The epname must match the endpoint which is under test, and the expected output is set to match
the incoming values.
Now if the DestinatonOOS element is used to as well the following can be performed:
<
Test
epname
=
" instance-3-gtt-selector-3E164"
name
=
"MLR-Test-2951"
>
<
DestinationOOS>11500
</
DestinationOOS>
<
Input
ic.sccp.cdpn.digits
=
"0690"
/>
<
ExpectedOutput
og.sccp.cdpn.ri
=
"RouteOnGT"
ssmeResult
=
"NoRoute"
/>
</
Test
>
Testing an endpoint with the map translation would be performed as follows:
<
Ep
id
=
"PROXY-0-sms-ruleset"
name
=
"PROXY-0-sms-ruleset"
>
<
SCCPMatch
map.cnts
=
"('DestMsisdn.addr=18682924768([0-9a-fA-F]+)'==True)"
map.translate
=
"DestMsisdn.addr=6666%1,DestMsisdn.npi=0,SCAddress.addr=18683999008;"
og.sccp.cdpn.digits
=
"18683999008"
og.sccp.cdpn.tt
=
"0"
tcap.opCode
=
"MO Forward Short Message"
/>
</
Ep>
<
Test
epname
=
"PROXY-0-sms-ruleset"
name
=
"MLR-Test-16980"
>
<
Input
map.cnts
=
"DestMsisdn.addr=18682924768222"
tcap.opCode
=
"MO Forward Short Message"
/>
<
ExpectedOutput
ssmeResult
=
"Match"
og.sccp.cdpn.digits=
"18683999008"
og.sccp.cdpn.tt
=
"0"
map.translate=
"6666222"
/>
</
Test
>