osmo-ttcn3-hacks/msc
Stefan Sperling c307e689b4 introduce a TTCN3 test suite for SCCP
This test suite acts as an SCCP server on top of M3UA.

SCCP tests are run against the sccp_demo_user program which
can be found in libosmo-sccp/examples. This program must be
started in client mode: sccp_demo_user -c
The SCCP test suite should then work out of the box with
the provided SCCP_Tests.cfg file and this additional change
to sccp_demo_user default point codes:
https://gerrit.osmocom.org/#/c/libosmo-sccp/+/9652/

There is currently only one test, for the libosmo-sccp crash
reported as issue OS#2666. The implementation of this test
is currently using an ugly workaround due to shortcomings of
the M3UA Emulation layer (see source code comments). Whether
a better solution is feasible is still to be determined.

The test requires a patch to the SCCP Protocol Emulation which
has been submitted upstream: https://git.eclipse.org/r/#/c/124552/

Change-Id: I03f5e8b282a7396b45417495c88d8fb81b26cda8
Related: OS#2666
2018-07-24 19:05:10 +00:00
..
BSC_ConnectionHandler.ttcn Stop tests after failures 2018-07-24 14:19:42 +02:00
MSC_Tests.cfg MSC_Tests: Add support for multiple BSC 2018-03-28 12:34:54 +02:00
MSC_Tests.default *.default: change logging filemask from ERROR | WARNING to += PARALLEL | VERDICTOP 2018-06-12 13:51:14 +02:00
MSC_Tests.ttcn introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
README.md Add README.md file for several suites 2018-06-14 18:55:36 +02:00
USSD_Helpers.ttcn USSD_Helpers.ttcn: add f_USSD_FACILITY_IE_RETURN_ERROR 2018-06-06 10:59:11 +00:00
expected-results.xml msc/USSD: use more informative names for test cases 2018-06-21 22:06:45 +07:00
gen_links.sh introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
osmo-msc.cfg sync TTCN3 MSC test config with docker-playground 2018-06-01 16:37:13 +00:00
osmo-stp.cfg sync TTCN3 MSC test config with docker-playground 2018-06-01 16:37:13 +00:00
regen_makefile.sh msc: import GSM 7-bit coding functions 2018-06-02 04:55:18 +07:00

README.md

MSC_Tests.ttcn

  • external interfaces
    • A: BSSAP/SCCP/M3UA (emulates BSC-side)
    • MNCC: MNCC/unix-domain (emulates ext. MNCC side)
    • MGW: MGCP (emulates MGW side)
    • GSUP (impllements HLR side)

{% dot msc_tests.svg digraph G { rankdir=LR; MSC [label="IUT\nosmo-msc",shape="box"]; ATS [label="ATS\nMSC_Tests.ttcn"];

ATS -> MSC [label="MNCC"]; ATS -> MSC [label="SMPP",style="dashed"]; ATS -> MSC [label="CTRL"]; ATS -> MSC [label="VTY"]; MSC -> ATS [label="GSUP"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; MSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}