Choices
Choices tag can be used at any point you want to execute a group of different actions with a probability associated with executing each of the actions. This way you can generate a load pattern that is a bit more complex than just the number of operations per second.
Children Tags
(choose){1,*}
Usage Examples
Example #1
<distribute iterations="1..10" workers="3">
   
<choices>
      
<choose howoften="25%">
         
<event name="test.event2" />
      
</choose>
      
<choose howoften="25%">
         
<event name="test.event1" />
      
</choose>
      
<choose howoften="50%">
         
<event name="test.event3" />
      
</choose>
   
</choices>
</distribute>
Example #2
<for property="i" range="1..1000">
   
<choices>
      
<choose howoften="5%">
         
<event name="test.event2" />
      
</choose>
      
<choose howoften="5%">
         
<event name="test.event1" />
      
</choose>
      
<choose howoften="90%">
         
<event name="test.event3" />
      
</choose>
   
</choices>
</for>