...
- Values in the incoming message are compared (matched literally or with an expression) to values in a data source and the responder uses the matching row data to create a response message.
- If no data source row matching the specified incoming message value is found, then (with the default failover settings) Virtualize will continue searching the responder suite for a responder with matching responder correlation. An error will be reported if no responders meet the responder correlation criteria.
- Any time that a data source correlation fails for a responder whose failover option is disabled, an error will be reported immediately and Virtualize will stop searching for matching responders.
- When an error is returned to the requester, an error event is also logged into the Event Messages view (if monitoring of the virtual asset is enabled).
- If using Multiple Responses mode, the specified conditions are used to select a response message is selected from the list of responses. Select request message fields are evaluated against the matching criteria of each response within the Multiple Responses mode response message list and the first matching one is returned. If no matching message is found then an error message is returned to the requestor, and an error is logged to the Event Details view (if monitoring of the virtual asset is enabled as described in Gaining Visibility into Server Events).
- Otherwise, the response is built and populated using Data Source Correlation (if parameterized via data source correlation) or with static values (if not parameterized). When data source correlation is used (see Data Source Correlation Tab), values in the incoming message are compared (matched literally or with an expression) to values in a data source and the responder uses the matching row data to create a response message. If no data source row is found matching the specified incoming message value, then (with the default failover settings) Virtualize will continue searching the responder suite for a responder with matching responder correlation. An error will be reported if no responders meet the responder correlation criteria. Moreover, any time that a data source correlation fails for a responder whose failover option is disabled, an error will be reported immediately and Virtualize will stop searching for matching responders. When an error is returned to the requester, an error event is also logged into the Event Details view (if monitoring of the virtual asset is enabled as described in Gaining Visibility into Server Events).
- In the case of a SQL Responder, the incoming query is matched to a template and the corresponding parameter values (See Creating SQL Responders from a Database Recording for details).
- Virtualize treats body content sent in form URL encoded POST requests as URL parameters, rather than putting them into the request body. This enables greater flexibility to create correlations based on individual parameters.