Forum Discussion
EyeLESS
16 years agoNew Contributor
Hi!
I'll try to give a thorough explanation. Let's say I have a simple test in my loadUI project. It has a fixed rate generator, runner, statistics and log table elements.
Lets suppose our generator to have a fixed rate of 10 per sec. I run test. And I want to change my generator's rate to 20 per sec while my test is running! But not by turning the rate knob manualy on generator element. I want to do it by any indirect means possible. Maybe by running some script or something.
I wrote a script which updates loadUI project XML file. But all the changes were applied only after I've reopened project. I tried to catch rate knob with Spy++ but it appeared not to be a common Windows' window which is obvious on second thought.
So I'm pretty much stuck with it=) Any help is greatly appreciated. Or if it's impossible to achieve it would be good for me to know it=)
PS one more time just to make everything as clear as a baby's tear=) I know I can simulate any varying load with different type of generators. But i wonder if there's possibility to change generator's rate indirectly during runtime. If it's running with rate of 10 and after some time I'd cry "Damn, let's double the load", I run some script and generator's rate changes to 20. Then after a while I'd say "Let's really rock and tripple the load" - run script and generator's rate changes to 60=) And all of this without my test stoping. All during runtime!
Tnx in advance for any help
I'll try to give a thorough explanation. Let's say I have a simple test in my loadUI project. It has a fixed rate generator, runner, statistics and log table elements.
Lets suppose our generator to have a fixed rate of 10 per sec. I run test. And I want to change my generator's rate to 20 per sec while my test is running! But not by turning the rate knob manualy on generator element. I want to do it by any indirect means possible. Maybe by running some script or something.
I wrote a script which updates loadUI project XML file. But all the changes were applied only after I've reopened project. I tried to catch rate knob with Spy++ but it appeared not to be a common Windows' window which is obvious on second thought.
So I'm pretty much stuck with it=) Any help is greatly appreciated. Or if it's impossible to achieve it would be good for me to know it=)
PS one more time just to make everything as clear as a baby's tear=) I know I can simulate any varying load with different type of generators. But i wonder if there's possibility to change generator's rate indirectly during runtime. If it's running with rate of 10 and after some time I'd cry "Damn, let's double the load", I run some script and generator's rate changes to 20. Then after a while I'd say "Let's really rock and tripple the load" - run script and generator's rate changes to 60=) And all of this without my test stoping. All during runtime!
Tnx in advance for any help