Forum Discussion

ksully's avatar
13 years ago

Generate/Split on a percent

How would you generate at a given rate, and split the traffic by percentage (i.e. 80% to this path, 20% to this path).
Want to simulate avg size and max size messages, by percent. Using delay isn't acceptable, since variability in processing time would affect the effective percent.
Thx

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Currently this isn't supported directly, as the Splitter component doesn't weight the outputs in any way. We will likely introduce this feature in the future. However in the meantime, one way you could solve the problem for this particular split is to use a Splitter component with 5 outputs, directing 4 of them to the same Runner, and the last on to the other Runner. This would give you an 80-20 split, but obviously isn't very pretty.

    Regards,
    Dain
    SmartBear Software