Prepare for your Next Interview
This is a discussion on loadrunner iterations - newbie question within the LoadRunner forums, part of the Software Testing category; Hi all, Is there a way to limit the loadrunner iterations/requests issued by each vuser to those that I want? Example: I am using a java code vuser script ...
|
|||
|
loadrunner iterations - newbie question
Hi all,
Is there a way to limit the loadrunner iterations/requests issued by each vuser to those that I want? Example: I am using a java code vuser script and set the vusers to run as threads. I have a 30 minute test with 100 vusers with think times. I want only 2000 transactions processed in the entire test. But when I look at the vuser log files, I see 1500 iterations/requests per vuser => 150000 requests in the entire test. Your valuable input at the earliest is highly appreciated. Thanks a bunch in advance. |
| Sponsored Links |
|
|||
|
Re: loadrunner iterations - newbie question
Hi all,
Since I did not get any answers yet...let me try to keep it simple and get clarification to my basic questions first --> What does iteration mean in loadrunner? Is iteration same as the user request issued by loadrunner? I am kind of stuck at point in my testing. Your help is highly appreciated. Thanks in advance for your valuable input. |
|
|||
|
Re: loadrunner iterations - newbie question
You can control the number of iteration by using thinktime and paceing time.
You have 30 mint and you are able to execute 1500 iterations with 1 user (assuming, need data on this). It mean 1 user in 1 mint he is doing 50 iterations(1500/30). But you need only 1000 in 30 mints, so u need 33 iteration in 1 min(1000/30). You have extra of 17 iteration. What is the actual time (for 1500) taken by each iteration ? = 60sec/50 = 1.2 sec so for 17 iteration , the total seconds are 17 * 1.2 = 20 seconds. So your think time between each iteration should be 20 seconds. If you are using more then one users, then u should considered both thinktime and pacing time. Hope it make you clear. Regards Surendra |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LoadRunner JavaScript question | melnykenator | LoadRunner | 0 | 05-12-2008 08:18 AM |
| User Iterations | Geek_Guest | LoadRunner | 1 | 11-01-2007 06:57 AM |
| Dynamicaly chage iterations number | Geek_Guest | LoadRunner | 1 | 04-30-2007 11:45 AM |
| newbie | jonathantammy | Get Together | 1 | 04-09-2007 03:48 PM |
| Newbie : there is no topic | Ralfman68 | Downloads | 2 | 12-03-2006 06:40 PM |