Is it possible to run multiple tests at the same time in ACT.
like say i want to load test a update profile page for a user. i record a test for user on and the another test for user 2 and so on say for 10 users.
now what i wnat is all this small test running at the same time. so that the load on the page is realist. like in the actual environment. that is say i have 10 test for 10 diferent users. now when a put a load of 100 user the load would be realist and distributed amount the ten test.
right now what happens is i record a test for say 1 user and run it for a laod of 100 users. In this case the same user is trying to update his profile 100 times at the same time which is not a realistic case. due to this the test that is run gives out values which are not correct.
You can do the customisation in your script.
You need to first create diff usernames ,
then in ACT you have some command ( i dont remember exactly ) like property.name or user.name
you can get exact thing by searching in help file.
what this command would do is fetch the username from data file and then you can use it in your url or form data.
I had used ACT only once but didn't find its reporting very useful , ... its just an newer WAST customised for .NET .
Also a note of caution in ACT, sometimes if your transaction is very fast for eg 120 msec(for single user ) then ACT is not able to load the application with multiple users, it doesnt give any error also but the result are very misleading .To detect this use loging in side your ACT script, and see the log to verify whether the tool is actually loading the application with concurrent users or not.
A good workman is known by his tools.
If the only tool you have is a hammer, you tend to see every problem as a nail.
There are two ways to do this without setting up users before hand, and letting ACT do them automatically. (I noticed that someone else posted about using a user list, so I didn't want to be repetitive.)
1. Look at the user's name, and strip the number. If you know the number of users you want, you can set each number to do a different function.
Set oUser = Test.GetCurrentUser
lLength = Len(oUser.Name)
lPosition = lLength - 8
lUserNumber = Mid(oUser.Name, 9, lLength) + 1
Note, with this, SOMETIMES the users get recycled (if you have 10 users, it never goes above 10)...or the users keep increasing as the test does more "laps"...I've never figured out why it does one one time, and the other the other times.
2. The other way is to use global variables to "round robin" your test. Have it check the variables each time, and increase whichever one you run. That way your users will keep the number of each type of test equal. This works best when you stagger your users (I have a post on another thread that deals with that).