osmo-ttcn3-hacks/bsc
Vadim Yanitskiy 96bb9cb047 BSC_Tests: ramdomize IMSI in f_gen_test_hdlr_pars()
Using the same IMSI in each test case makes it harder to correlate
subscriber connections in the SUT with particular test cases.  A
good example is a problem described in OS#5337: some test cases
create dangling subscriber entries that never got released:

  OsmoBSC# show subscriber all
   IMSI             TMSI      Use
   001019876543210  ffffffff  3 (3*paging-start)
   001010000100001  ffffffff  1 (conn)

With this patch I am getting the following output:

  OsmoBSC# show subscriber all
   IMSI             TMSI      Use
   001016017428234  ffffffff  1 (paging-start)
   001014631230680  ffffffff  1 (paging-start)
   001011161500382  ffffffff  1 (paging-start)
   001010000100001  ffffffff  1 (conn)

so I was able to correlate the following test cases:

* (001016017428234) TC_lcs_loc_req_for_active_ms_ta_req,
* (001014631230680) TC_lcs_loc_req_for_active_ms_le_timeout2,
* (001011161500382) TC_cm_service_during_lcs_loc_req,
* (001010000100001) TC_no_msc.

Change-Id: Ie008b5566b207b13cd562c55625bad38c09b3927
Related: OS#5337
2021-12-11 02:03:22 +03:00
..
BSC_Tests.cfg bsc: Test suite for CBSP (Cell Broadcast Service Protocol) 2019-09-05 13:13:35 +02:00
BSC_Tests.default StatsD_Checker: Enable by default 2021-02-26 12:42:35 +01:00
BSC_Tests.ttcn BSC_Tests: ramdomize IMSI in f_gen_test_hdlr_pars() 2021-12-11 02:03:22 +03:00
BSC_Tests_CBSP.ttcn bsc: Rework CBSP tests to support testing IPv6 2020-09-18 08:31:11 +00:00
BSC_Tests_LCLS.ttcn library/RSL_Types: use OCT4 for local/remote address fields 2021-07-05 12:09:07 +00:00
BSC_Tests_VAMOS.cfg bsc-VAMOS: add cfg files to run BSC_Tests_VAMOS locally 2021-06-05 20:24:35 +00:00
BSC_Tests_VAMOS.ttcn library/RSL_Types: use OCT4 for local/remote address fields 2021-07-05 12:09:07 +00:00
MSC_ConnectionHandler.ttcn bsc: f_create_chan_and_exp(): ensure that SCCP connection is up 2021-12-07 07:38:33 +00:00
README.md bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
README.txt bsc: add TC_stats_conn_fail 2021-08-27 08:24:23 +00:00
expected-results.xml bsc: Test tch allocation if sdcch exhausted 2021-07-23 16:45:27 +02:00
gen_links.sh bsc: Add Lb interface support 2020-10-13 08:43:10 +00:00
osmo-bsc-vamos.cfg bsc-VAMOS: add cfg files to run BSC_Tests_VAMOS locally 2021-06-05 20:24:35 +00:00
osmo-bsc.cfg bsc/osmo-bsc.cfg: fix deprecated BTS type 'sysmobts' 2021-12-06 17:55:25 +00:00
osmo-stp.cfg bsc/osmo-{bsc,stp}.cfg: tune logging configuration 2021-12-06 17:55:25 +00:00
regen_makefile.sh regen_makefile.sh: set executable name explicitly 2021-10-13 11:12:22 +02:00

README.md

BSC_Tests.ttcn

  • external interfaces
    • A-bis side: RSL (emulates BTS-side client) (OML handled by osmo-bts-omldummy)
    • A-side (emulates MSC-side)
      • BSSAP/SCCP/M3UA (AoIP)
      • BSSAP/SCCP/IPA (SCCPLite)
    • MGW side: MGCP (emulates MGW side)
    • VTY
    • CTRL
    • StatsD

{% dot bsc_tests.svg digraph G { graph [label="AoIP", labelloc=t, fontsize=30]; rankdir=LR; { rank=same; BTS; STP; }; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];

BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; BSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}

{% dot bsc_tests_sccplite.svg digraph G { graph [label="SCCPLite", labelloc=t, fontsize=30]; rankdir=LR; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];

BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> BSC [label="A BSSAP\nSCCP/IPA"]; } %}