1. Declare variables first
CHARACTER*512 fileuser, FILE = "user", SCRIPT
CHARACTER*512 filepassword, FILE = "password", SCRIPT
CHARACTER*512 fileaccountno, FILE = "accountno", SCRIPT
CHARACTER*100 currentUsername, LOCAL
CHARACTER*100 currentPassword, LOCAL
CHARACTER*100 currentAccountNo, LOCAL
2. Tell when it should use the new variables
ACQUIRE MUTEX "Login"
NEXT fileuser
NEXT filepassword
NEXT fileaccountno
SET currentusername = fileuser
SET currentpassword = filepassword
SET currentaccountno = fileaccountno
RELEASE MUTEX "Login"
3. Replace the previously recorded info with the new variables.
4. Create new files (.fvr, e.g. user.fvr, password.fvr, accountno.fvr in this case)
Each line in the file represent one record (line break to separate it).
and place them in C:\Program Files\OpenSTA\Repository\Data
5. Create a new Test and drag the script in the task view.
6. Set the VU (Total number of virtual users for this task group)
Thursday, January 21, 2010
Subscribe to:
Post Comments (Atom)
1 comment:
Hi. This tutorial needs more instructions. Can you make it like a complete walk through: like how to do it from scratch
Post a Comment