Parameter Auto-Increment Format Wizard


The test system Auto-Increment wizard generates unique parameter values based on the values you select or enter.

Resulting Text

The Resulting Text is the value displayed in the parameter based on the values you enter/select on the Auto-increment Format Wizard window. For example, in MME Nodal test case, the auto-increment resulting text on Phonebook > SIP Subscriber > Public User Name is user#(N0).

Where:

  • user is the Base Text
  • N indicates that the value Type is an incrementing integer
  • 0 indicates the Starting Value of the increment option

The Resulting text is generated based on the values you enter/select in the Base Text, Offset, Type, Starting Value, # of Repeats, Increment, and Padding.

The following rules apply for integer, IP address and Prefix/Subnet:

Incrementing Integer #(N[STARTING VALUE]<:PADDING>< [REPEATS]/[INCREMENT]>)
Incrementing IP Address #(I[STARTING VALUE]</[MASK]>< REPEATS]/[INCREMENT]>)
Incrementing Prefix/Subnet #(P[STARTING VALUE][/CIDR]< REPEATS]/[INCREMENT]>)

 

Where:

N, I, P

N - Incrementing Integer; I - IP Address; P - Subnet or Prefix  

[MIN_VALUE] The minimum random value in the range of random values, any integer < MAX_VALUE
[MAX_VALUE] The maximum random value in the range of random values, any integer > MIN_VALUE
CIDR For both IPv4 (Subnets) and IPv6 (Prefixes) Addresses, we will use the /CIDR to determine the "Subnet" or "Prefix Length" to know at which bit the value should be incremented. The /CIDR will be a required part of the text that the user enters directly. 

NOTE: You may also include the # character a string. For example:

  • User##(N0) to result in User #0, User#1, User#2, User#3, etc.  

  • User/##(123) should result in User#123, User#124, User#125, etc.

 

Base Text

Indicates the name/text that appears in the parameter and is the initial value (non-incremented) for the Parameter (resulting text).

NOTE: On the Auto-Increment Format Wizard window Base Text and Offset options are not available for Port and IP Address values.

 

Offset

Offset is not available if Type is None (Do Not Increment). The parameter indicates the position of the auto-increment value. That is, whether the auto-increment value is a prefix, suffix, or within the base text. For example, if the Base Text is user, the auto-increment value is positioned as follows according to the Offset value you select.

  • Offset 0= <auto-increment value>user
  • Offset 4= user<auto-increment value>
  • Offset 2= us<auto-increment value>er
NOTE: An error displays if you select a value larger than the length of the text. That is, selecting 5 when the Base Text is user, displays an error.

NOTE: On the Auto-Increment Format Wizard window Base Text and Offset options are not available for Port and IP Address values.

Type

Select the type of incrementer you want to use or incrementing you want to happen.

  • None (Do Not Increment)

  • Incremented Integers (indicates the Amount to increment)

  • IP Address (applicable for type #I)

  • Prefix/Subnet - Subnet or Prefix

Example : IP Addresses

Increment Options

 The Increment Options parameters are not available if Type is None (Do Not Increment).

Starting Value

  • Decimal

  • Hexadecimal

The starting value in an incrementing field, for integer, any value, for IP can be v4 or v6

Select the parameter value to provide incrementing Decimal or Hexadecimal values.

#N(0x<HEX STARTING VALUE)….
#N(<DECIMAL STARTING VALUE)…
 

NOTE: The Hexadecimal value affects only the Starting Value. The values in #of Repeats, and Increment are always decimal.

Decimal

Range: -2147483648 <= Value <= 2147483647

The following is an example usage of Secret Key:

password#(N0)  ==> password1, password2, password3, ...

Hexadecimal

Range: 0x0 - 0x7FFFFFFF

The format for the integer value is in HEX notation. The syntax for Hexadecimal incrementing is #N(0x<hex_digits>). The 0x is not part of the output value but is required to signify HEX  incrementing. (Prefix 0x is converted to a HEX value with the HEX suffix, and incremented as a hex value).

Example:

The following are examples usage of Secret Key:

Examples:

#(N0x31323334)

==> 31323334,  31323335,  31323336, ... 3132333F, ...

0x#(N0x31323334)

==>  0x31323334,  0x31323335,  0x31323336,  ... 0x3132333F ...

 0xaabbccdd#(N0x9)

==> 0xaabbccdd9, 0xaabbccddA, 0xaabbccddB, ... 0xaabbccddF, ...

When you use prefix 0x, the string 0xaabbccdd#(N0x9) is converted to a HEX number with the HEX suffix (it will be incremented as a hex value):

aabbccdd#(N9)

==> 0xaabbccdd9, 0xaabbccdd10, 0xaabbccdd11, ... 0xaabbccdd70, ...

When you do not use prefix 0x then the string aabbccdd#(N9) will used as an ASCII: 616162626363646439, 61616262636364643130, ...

 

# of Repeats

The number of times to duplicate a value, that is whether to repeat once, twice, and so on. Valid range is 0 - 255.

The number of times to repeat the value,

  • 0 indicates no repeats, that is, the value appears once.
  • 1 indicates that the same value repeats once, that is, occurs twice.
  • 2 indicates that the same value repeats twice, that is occurs three times.

Increment

The value to increment (increase or decrease) each time, valid range 1 to 255.

Padding

Indicates the number of digits displayed. Select Padding and increment the values as required. The incremented value is prefixed with 0’s until the number of digits is equal to Padding value. Valid values is 1-50.

Preview

Show 2000 Values

Displays the value of the parameter based on the auto-increment values. By default a maximum of 100 values are displayed and you may display up to 2000 values by selecting Show 2000 Values.

 

^ Back to Top