OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | clif List | April 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [clif] problem with charge profiles


Nicolas BARRE wrote:
Here is my scenario.

I would like a client to appear each 100ms, during the first second.

I don't know how to use a random timer to do that because if I put 1000
as a maximal value, it can return me any value between 0 and 1000 and I
just want 0, 100, 200, 300 ...

Thank you !
  
If you want exactly this behavior, set a 1 second ramp-up from 0 to 10 virtual users at the beginning of your load profile, and set system property clif.isac.groupperiod to 10 in etc/clif.props (or etc/clif.props.template in the Eclipse-based console) - see user manual p. 41.

But honestly, I'm not sure you really need such a precision, and the initial random think time is generally a very good trick. Generally speaking, introducing alea is rather a good thing to avoid behaviors becoming accidentally synchronized, thus giving strange results.

Best regards,
-- Bruno.
Le mercredi 25 avril 2007 Ã 11:29 +0200, Bruno Dillenseger a Ãcrit :
  
Hello,

In an Isac scenario, I've define a linear profile for a http injector so that clients appear progressively, but when I launch ethereal to test that, I see they always emit their request at the same time...

Is their a known problem about that ?
  
      
No. If you want to see a ramp-up followed by a flat stage (in terms in
req/s, network traffic), you have two solutions:
      * use a uniform random timer at the beginning of the behavior
        with the wanted ramp-up duration as maximum value and 0 as
        minimum value (use Random plug-in, then set it to uniform
        distribution law with the appropriate control)
      * or set a load profile with the wanted ramp-up part and then
        the flat part.
    

  
If you are still not finding a solution to your problem, please send
your scenario (.xis) file.

Best regards,
-- Bruno.
    



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.