Directs incoming VUs based upon a condition.
0.1. Basic (non-advanced) mode
||Value||The value to check the condition against
||Toggles Advanced Mode|
The minimum value allowed
|Max||The maximum value allowed|
||Displays the current min/max settings as well as the number of conditions which have evaluated to true, and to false.|
||The output for values which fulfill the condition|
||The output for values which do not fulfill the condition|
0.2. Advanced mode
In Advanced mode, the value selector is replaced with a condition textbox. In it you can type any Groovy Expression which can be evaluated. The expression has access to any parameters in the incoming VU.
||Condition||The expression to evaluate for the condition|
|Display||Displays OK if the expression is syntactically correct|
0.3. Example usage
0.4. Compact View
||Display||Shows the number of conditions which have been evaluated to true, and to false|
0.5. Advanced topics
The Condition component can be used to selectively log certain requests, as described here.
It is also very useful in controlling the behavior of a VU, as described here.