Ole Lensmar, eviware
This Flow component dispatches incoming messages based on their "HttpStatus" property to a corresponding output. Connect it to the output of a WebRunner if you want to handle different status-codes separately, for example for:
- Creating separate statistics for different status codes; connect the corresponding outputs to a dedicated statistics component
- Asserting different status codes separately; connect the corresponding outputs to a dedicated assertion component
The configuration is a comma-separated string containing one item for each desired output and its corresponding status code ('?' is allows for wildcards). For example the configuration "200,3??,4??,404,500" would create five outputs, the first outputting all messages with 200, the second outputting all 3XX messages, the third outputing all 4XX message, the fourth just outputing 404 messages, and the last outputing 500 (Server Error) messages.