Using random variables
One reason you modify a recorded script is to provide more dynamic and random input. For example, to randomize the entry selection from an AR System table, parse the available entries into an array, and then randomly select an element from that array. From the known the array length, randomly pick an element from 1 to the array length value:
gnElementNum := RndUniN(1..gnTotalRequests);
Then replace the entry request ID value with the array element:
" <Array name=\"qual_field_values\">\r\n"
" <string>"+ gaRequestID[gnElementNum] +"</string>\r\n" //REQ000000009577
" </Array>\r\n"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*