4.3 Random value generation
31.1273GPPnon-removable Universal Subscriber Identity Module (nrUSIM) application behavioural test specificationRelease 17TSUICC-terminal interaction
To ensure that the EUT provides EF values read from the UICC/USIM, identified EFs are to be used with random EF content.
If the test definition requires random test values to be used, the EF content is generated on test case initialization. An EF containing random values always is specified in the initial condition clause of the test case. At least the EF coding is showing one or more placeholders (characters x to z, highlighted in red) where a generated random value has to be inserted. To avoid ambiguities a codomain (D) of possible values is defined for each random character.
Example:
EFIMSI
Logically:
24681357x
Coding:
Byte |
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
Hex |
05 |
29 |
64 |
18 |
53 |
x7 |
FF |
FF |
FF |
D: x ∈ {0x0; …; 0x9, 0xF}
Explanation:
The random IMSI can become any logical value from 246813570 to 246813579 or 24681357 in case of x = 0xF.
NOTE: the verification method using the generated random value is described in Annex A.4
EF content randomization (e.g. last digit) is limited to the elementary files EFIMSI, EFLOCI (files), EFRouting_Indicator and Home Network Public Key identifier in the EFSUCI_Cal_Info and it is done for a limited number of network-dependent test cases only.