Simulating multiple users usually involves creating data banks. For instance, in order to simulate different users connecting to the fmstocks demo site, their login should be different:
Locate the "Submit" request which contains the login used
Click on the Insert/Modify Variable icon to create a
Enter a Name for the new variable: LOGIN
Select 'String' in the Type combo box.
Select 'Script' in the Scope combo box. The scope of the variable should be 'Script' since the variable is shared by all virtual users executing this script.
Select the 'Value List' radio button.
Click the Generate Values icon :
Type ta in the Prefix field, 10 in the Nb
Values field, 1 in the From field and then click
OK. This generates 10 different logins from ta1 to
Leave the "Sequential (next)" option checked; A NEXT command is automatically inserted at the beginning of the script. It allows each user to use a different LOGIN value.
Click Generate, the LOGIN variable is inserted in the Script's declaration section:
Reperform steps 3 to 7 for the PASSWD variable (all
passwords have the same value on fmstocks web site: ta). In
the Generate values dialog box, type ta in the Prefix
field, 10 in the Nb values field and leave the
Increment check box unchecked:
Again locate the "Submit" request which contains the
login used during Recording and replace the login 'ta942' with the
the password ‘ta’ with the PASSWD
either manually or using the "Edit
Copyright © AgileLoad. All rights reserved.