Building Performance Test script statements using <EXECUTE> (Scripting)
Performance Test allows you to build script statements (<Inn>, <KEY>, <Snn>, <HEX>, etc.) for immediate execution using the <EXECUTE> statement. The data after the <EXECUTE> statement can contain a mixture of constants and variables as outlined under variable substitution.
The most common use of the <EXECUTE> statement is to vary the number of inputs entered on a screen. For example, an order entry application has a screen where as many as 25 items can be entered per order. The order numbers and item numbers are in an external file. Each statement has an order number and item number. On the screen, order number is input field 1, item numbers are input fields 2 through 26.
You can also use the <EXECUTE> tag to replace other Performance Test script pieces with variables. For example, to use REXX to alter which key should be pressed on an input message, you can use the <EXECUTE> tag.
You can also use <EXECUTE> to decide which input field number to use.