<div dir="ltr">Hi Alex,<div><br></div><div>Thanks for the reply. The second part of your reply has detailed explanation for my question and possible solution. And it is very useful feature.</div><div><br></div><div><span style="font-size:12.8px">For now, I will play with </span><span style="font-size:12.8px">idle and busy period durations and see if can achieve my requirements.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">Krish.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 10:50 AM, Alex Rousskov <span dir="ltr"><<a href="mailto:rousskov@measurement-factory.com" target="_blank">rousskov@measurement-factory.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/08/2016 12:24 AM, perf tester wrote:<br>
<br>
> I would like randomize the active robots. For example, Out of 100<br>
> robots configured in the test, i can limit 5 robots to be active. But<br>
> the same robots are used for the entire test duration. I would like<br>
> the tool to pickup the next 5 robots from the remaining 95 robots<br>
> configured until all the robots are used 5 at a time.<br>
<br>
</span>You would like Polygraph to "pickup the next 5 robots" _when_?<br>
<br>
If your requirements are flexible, and you do not need Polygraph to<br>
maintain exactly N active robots at any given time, then you may be able<br>
to achieve something similar using Robot sessions:<br>
<br>
<a href="http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Session" rel="noreferrer" target="_blank">http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Session</a><br>
<br>
I have not tested it, but I suspect that by selecting the right<br>
combination of average idle and busy period durations while randomizing<br>
idle_period_duration, you may achieve a steady state where 5<br>
random/different robots out of 95 robots are active at most times.<br>
<br>
<br>
If you need more precise control and convenience, then Polygraph changes<br>
would be required. For example, one could add PGL knobs that would<br>
replace one active robot with another while maintaining a configured<br>
robot population level. Polygraph already has code to maintaining a<br>
configured robot population level, but it currently does not add or<br>
remove robots unless that level changes. This would be a generally<br>
useful feature IMO.<br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
<br>
</blockquote></div><br></div>