| || |
Think times for a browser session are represented by WAIT in the script. How can I introduce randomness by recording with average WAITs for e.g. 50% to 150% of the recorded values for different iterations during the test?
Re: Think-time randomness
Try using a subroutine like below, where lower and upper are the lower and upper bound (50 and 150) in your example below. Then wait for the amount of time generated by the subroutine.
Integer r_int (1-2147483647), RANDOM
SUBROUTINE RANDOM_GEN_LU [lower, upper]
! This generates a random number between x and y
SET temp_lu = ((r_int%(upper - lower + 1)) + lower)