| || |
Getting concurrent users to run using datapool
My manager got some scripts from somewhere, and told me to investigate them.
One of things I need to figure out is how they manage to get concurrent users going just using datapools(containing username and password).
The way I would do is to use the virtual user numbers in the script and crank up the VU number in conductor.
But the script that manager got uses only datapool and a variable in the script to pull data from datapool. And if the VU number is, for example, 50, then mostly likely when the script is executed, 50 VUs will all pull the first row of the datapool assume there is no delay in VU startups.
I know I can play around with the VU delays to simulate some current user scenario, but it just feels so wrong.
Another way I can think of is to make copies of the script and name them differently(in this case 50 copies), execute those scripts as if they were different scripts....
and again, this feels even dumber..
Are there any other thing I'm missing?
Thanks in advance.
Re: Getting concurrent users to run using datapool
If you make the datapool a central datapool then each virtual user will be given a unique value regardless of when they attempt to access it.