Generating messages dynamically
When you create a message generation deck, you might not want to code a message manually for every message sent to the system under test. For example, you might have several fields in each message, each field containing one of several possible values. Instead of coding many statements for each possible value, simplify the coding process by generating messages dynamically with data field options. A data field option is a value you code in a data field to retrieve data that WSim can access.
You can code data field options to generate different kinds of messages dynamically for many different simulated resources. For example, you code some data field options only on the TEXT statement; you code others on statements such as the WTO, CMND, and LOG statements. WSim also provides options you code only when you simulate a specific resource.
Understanding data field option use provides a discussion of the different types of data field options available with WSim. For a complete list of data field options and information about coding requirements, see the WSim Script Guide and Reference.