From aa1e60f584f713cc1b9570dc1b98e3f776f57f8e Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Mon, 15 Oct 2018 16:34:07 +0200 Subject: add an IPA test which sends a chopped payload Add another IPA test to the BTS and BSC test suites. This new test sends the header in one burst, followed by the payload which is transmitted byte-per-byte. The test uses an ID REQ message. If acting as a server, the test can expect an ID RESP message. However, if acting as a client, the server will close the connection when it receives the ID REQ. The CTRL interface port on the BSC does not close the connection in this case, so that particular port is skipped by the test for now. Change-Id: If75cb90841bb25619b414f0cabe008a2428a9fdf Related: OS#2010 Depends: I4804ccabd342b82d44e69dbc6eaaae220ec7d4e4 --- bsc/BSC_Tests.ttcn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bsc/BSC_Tests.ttcn') diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 98224ad0..fef5fd74 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -2957,6 +2957,15 @@ testcase TC_chopped_ipa_ping() runs on test_CT { } } +testcase TC_chopped_ipa_payload() runs on test_CT { + const Integers bsc_ipa_ports := {mp_bsc_rsl_port, mp_bsc_oml_port + /* TODO: mp_bsc_ctrl_port does not work yet */}; + for (var integer i := 0; i < lengthof(bsc_ipa_ports); i := i + 1) { + IPA_Testing.f_run_TC_chopped_ipa_payload(mp_bsc_ip, bsc_ipa_ports[i], CONNECT_TO_SERVER); + } +} + + /* Dyn PDCH todo: * activate OSMO as TCH/F * activate OSMO as TCH/H @@ -3068,6 +3077,7 @@ control { execute( TC_dyn_pdch_osmo_act_nack() ); execute( TC_chopped_ipa_ping() ); + execute( TC_chopped_ipa_payload() ); /* at bottom as they might crash OsmoBSC before OS#3182 is fixed */ execute( TC_early_conn_fail() ); -- cgit v1.2.3