Spirent Avalanche 5.46 February 29, 2024

Assign Variables

Use ASSIGN VARIABLE to assign a literal value, forms database information, concatenation, or random numbers, letters, or characters to a variable. You can also erase a variable. After you assign a variable, use APPLY to associate it with an item. Assigning variables provides a convenient way to assign a large string of information to one variable name, making for cleaner, easier code to read.

Basic Examples

Randomizing Examples

Sequential Examples

APPLY Variable Examples

Basic Examples

Randomizing Examples

Uniform Distribution

Normal Distribution

ASSIGN VARIABLE <myvar6 NORMAL lower_bound upper_bound>

Sequential Examples

APPLY Variable Examples


Apply Variables

HTTP/HTTPS Search

HTTP Set Runtime Cookie Action

Create Cursor

Loop

Timer

Think Time

© 2024 Spirent Communications, Inc. All Rights Reserved.