| Author |
Message |
bjbilic
Joined: 11 Mar 2006 Posts: 3
|
Posted: Wed Jan 31, 2007 5:33 pm Post subject: Ramp up the load |
|
|
We are trying to load-test application using 'Topology' approach with 4000 virtual users, and are experiencing problems during the initial portion of the application. What happens is that all 4000 users are trying to log into the application and that always results in either application or ANTS Load crashing somewhere in the topology.
Is there a way to slowly introduce vUsers to application in increments of, say, 100 vUsers, so that after X minutes we can start the real performance test script?
Hope this is clear.
Regards, Bill. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Feb 01, 2007 2:30 pm Post subject: |
|
|
I think there are a few options that may help. One is to use one of the batch tests, to ramp up the number of users steadily. If you want them all to run at once, though, I think the best option is to add a RandomSleep() to the top of each script. You could probably even take this a bit further and use Me.Id to get the virtual client ID number, and use this in a sleep.
For instance, if you used Sleep or randomsleep in conjunction with the virtual client ID, you could stagger each running virtual client by x*the virtual client id, for instance
Sleep(1000*Me.Id)
Every Virtual client would wait 1 second after the last virtual client had started. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group