Red Gate forums :: View topic - Ramp up the load
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Ramp up the load

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
bjbilic



Joined: 11 Mar 2006
Posts: 3

PostPosted: Wed Jan 31, 2007 5:33 pm    Post subject: Ramp up the load Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Thu Feb 01, 2007 2:30 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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