I am using Visual Studio 2005 to load test adding users to a site.
In this example, try adding 200 Users to the site, but each user has to have a unique name and SSN. Currently I can only add the same data over and over again with a web test in the test mix.
Is there any way to load test the add of these multiple unique entries without having a web test to add each user?
I use an automation software that makes use of VBScript onthe backend, and I have a function to return random strings to me. You could probably use something similar. It goes something like:
<font class="small">Code:</font><hr /><pre>
Function makeRandom(min, max)
makeRandom = Int((max-min+1)*Rnd+min)
All you need to do is pass in a minimum value and a maximum value. You could actually use this to spit out a whole SSN or you could even work it so that it generates each number individually.
Hope it helps.
9 out of 10 people I prove wrong agree that I'm right. The other person is my wife.