Project

General

Profile

Feature #2931

USSD test cases in TTCN-3

Added by laforge over 1 year ago. Updated 11 days ago.

Status:
In Progress
Priority:
Low
Assignee:
Category:
SS/USSD
Target version:
-
Start date:
02/11/2018
Due date:
% Done:

90%

Resolution:
Tags:

Description

We're not yet testing USSD from MSC_Tests in TTCN-3


Checklist

  • Test case for MS-initiated RELEASE
  • Abnormal: timeout waiting for any activity
  • Test case for a few concurrent SS/USSD transactions
  • Abnormal: referencing a non-existing transaction
  • Abnormal: interrupting an active transaction
  • Abnormal: no response to Paging Request
  • Abnormal: MT transaction to an unknown subscriber

Related issues

Related to OsmoMSC - Feature #1597: External interface for USSDStalled02/23/2016

History

#1 Updated by laforge about 1 year ago

#2 Updated by fixeria about 1 year ago

  • Tracker changed from Bug to Feature
  • Assignee set to fixeria

I'll try to implement some basic test coverage.

As I understand, we need to emulate the following:

  • subscribers, sending and receiving USSDs at the same time (according to 3GPP TS 04.80);
  • TTCN-3 based external USSD gateway (as soon as I finish the GSUP interface);
    • network initiated USSD-sessions;
    • subscriber initiated USSD-sessions;
    • error cases during USSD-sessions (e.g. losing connection with USSD gateway);
    • multiple USSD-sessions with a single subscriber (on both MM and transaction levels);

#3 Updated by fixeria about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

The current plan of this work is:

1. (DONE) Implement abstract functions for GSM 04.80 coding
2. (DONE) TC: single request with known code (`*#100#`)
3. (DONE) TC: single request with unknown code (`*#999#`)
4. (DONE) TC: USSD request during an active call
5. TC: invalid initial request with DCS != 0x0f
6. TC: network originated USSD notification
7. Multiple requests within a session:
7.1. Emulate the USSD GW on the HLR side
7.2. TC: REQ_MS, REQ_NET, RSP_MS, RSP_NET
7.3. TC: MS initiated RELEASE_COMPLETE

Patches for both 1. and 2. have been sent to review:

https://gerrit.osmocom.org/#/q/status:open+project:osmo-ttcn3-hacks+topic:ussd
https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/9372/

#4 Updated by laforge about 1 year ago

  • Tags set to TTCN3

#5 Updated by fixeria about 1 year ago

Two new testcases have been submitted:

TC: single request with unknown code (`*#999#`)
https://gerrit.osmocom.org/9470/

TC: USSD request during an active call:
https://gerrit.osmocom.org/9471/

#6 Updated by fixeria about 1 year ago

  • % Done changed from 10 to 60

As we are about to finish the GSM 09.11 implementation, i.e. 'SS/USSD over GSUP' in our case,
the existing test cases were updated in order to expect and reply GSUP messages:

https://gerrit.osmocom.org/9685/

Also, a new tests cases for network-initiated transactions have been sent to review:

https://gerrit.osmocom.org/9686/

Finally, the test case, which was intended to check the reaction on unknown USSD-code, is going to be dropped:

https://gerrit.osmocom.org/9683/

#7 Updated by fixeria about 1 year ago

Future plans:

  • Test case for MS-initiated RELEASE * Test case for a few concurrent SS/USSD transactions * Test cases for abnormal cases, e.g. ** referencing a non-existing transaction ** interrupting an active transaction ** no response to Paging Request

#8 Updated by fixeria 11 months ago

  • Category set to SS/USSD
  • Status changed from In Progress to Stalled
  • % Done changed from 60 to 80

#9 Updated by fixeria 7 months ago

  • Checklist item Test case for MS-initiated RELEASE added
  • Checklist item Test case for a few concurrent SS/USSD transactions added
  • Checklist item Abnormal: referencing a non-existing transaction added
  • Checklist item Abnormal: interrupting an active transaction added
  • Checklist item Abnormal: no response to Paging Request added
  • Checklist item Abnormal: timeout waiting for any activity added

#10 Updated by fixeria 6 months ago

  • Checklist item Abnormal: timeout waiting for any activity set to Done
  • Priority changed from Normal to Low

Regarding the inactivity timeout, please see https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/11985/

#11 Updated by fixeria 12 days ago

  • Checklist item Abnormal: MT transaction to an unknown subscriber added
  • Status changed from Stalled to In Progress

#12 Updated by fixeria 12 days ago

  • Checklist item Abnormal: MT transaction to an unknown subscriber set to Done

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14450 MSC_Tests.ttcn: introduce TC_mt_ussd_for_unknown_subscr

#13 Updated by fixeria 12 days ago

  • Checklist item Abnormal: referencing a non-existing transaction set to Done

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14460 MSC_Tests.ttcn: introduce TC_proc_ss_for_unknown_session
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14503 MSC_Tests.ttcn: introduce TC_mo_ussd_for_unknown_trans

#14 Updated by fixeria 11 days ago

  • Checklist item Abnormal: no response to Paging Request set to Done

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14474 MSC_Tests.ttcn: introduce TC_proc_ss_paging_fail
https://gerrit.osmocom.org/c/osmo-msc/+/14475 libmsc/gsm_09_11.c: inform HLR/EUSE if Paging has failed

#15 Updated by fixeria 11 days ago

  • Checklist item Abnormal: interrupting an active transaction set to Done
  • % Done changed from 80 to 90

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14476 MSC_Tests.ttcn: introduce TC_proc_ss_abort

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)