Project

General

Profile

Actions

Feature #2931

closed

USSD test cases in TTCN-3

Added by laforge about 6 years ago. Updated about 4 years ago.

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

100%

Resolution:
Spec Reference:
Tags:

Description

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


Checklist

  • Test case for MS-initiated RELEASE
  • 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: timeout waiting for any activity
  • Abnormal: MT transaction to an unknown subscriber

Related issues

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

Actions
Actions #1

Updated by laforge almost 6 years ago

Actions #2

Updated by fixeria almost 6 years 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);
Actions #3

Updated by fixeria almost 6 years 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/

Actions #4

Updated by laforge almost 6 years ago

  • Tags set to TTCN3
Actions #5

Updated by fixeria almost 6 years 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/

Actions #6

Updated by fixeria over 5 years 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/

Actions #7

Updated by fixeria over 5 years 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
Actions #8

Updated by fixeria over 5 years ago

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

Updated by fixeria over 5 years 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
Actions #10

Updated by fixeria about 5 years 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/

Actions #11

Updated by fixeria almost 5 years ago

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

Updated by fixeria almost 5 years 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

Actions #13

Updated by fixeria almost 5 years 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

Actions #14

Updated by fixeria almost 5 years 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

Actions #15

Updated by fixeria almost 5 years 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

Actions #16

Updated by fixeria over 4 years ago

  • Status changed from In Progress to Stalled

[ ] Test case for a few concurrent SS/USSD transactions

I guess I will need to implement a TTCN-3 component for that, as we do in the HLR_Tests.ttcn.

Actions #17

Updated by fixeria about 4 years ago

  • Checklist item Test case for a few concurrent SS/USSD transactions set to Done
  • Status changed from Stalled to Resolved
  • % Done changed from 90 to 100

See https://gerrit.osmocom.org/r/I2fb1c5d285163d5245d92fa24c197a5027ecbe6f MSC: add test cases for concurrent MO/MT SS/USSD transactions

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)