Forum Discussion
vxramad
13 years agoContributor
I am testing a web site and i want to run a HTTP task for certain number of Vusers and login credentials.
To do this i am dbl clicking tasks where i can declare variables depending on the type like list or constant.
Then replaced the values in each request FORM with this variable, and create subsequent number of virtual users using script.
Now the problem is that i do not want to go and manually set the values for the variables declared.
I want to read the data from csv file for which we are using DDT driver.
Until here its fine. But i am not sure on how to access the declared variables.
For fuctional project variables we use project.variables.variablename for accessing project varialbes.
I am not sure on how to modify the values of variables declared for task from script.
I am using VB script.
To summarise is there a way i can access and modify the variables declared in task editor while scripting instead of manually doing the same?
To do this i am dbl clicking tasks where i can declare variables depending on the type like list or constant.
Then replaced the values in each request FORM with this variable, and create subsequent number of virtual users using script.
Now the problem is that i do not want to go and manually set the values for the variables declared.
I want to read the data from csv file for which we are using DDT driver.
Until here its fine. But i am not sure on how to access the declared variables.
For fuctional project variables we use project.variables.variablename for accessing project varialbes.
I am not sure on how to modify the values of variables declared for task from script.
I am using VB script.
To summarise is there a way i can access and modify the variables declared in task editor while scripting instead of manually doing the same?