...
- Enable Enable correlation.
- Click Add. A new entry row appears.
- Enter the Header Name.
- Do one of the following:
- If you want to match messages where this header is set to a specific value: Enter , enter that value under Value of Header.
- You can also use criteria expressions to create, for example, string pattern matches.
- If you want to match all messages that include this header (no matter what value it is set to): Enable Correlate whenever the named header is present regardless of value.
- If you want to match messages where this header is set to a specific value: Enter , enter that value under Value of Header.
...
- Enable Enable correlation.
- If you want the correlation to be applied only if the request has the exact URL parameters specified in this table, enable Correlate only when the list of parameters matches exactly. Otherwise, any request that contains listed parameters as well as other parameters will correlate. Whether this option is enabled or disabled, a message that lacks one of the specified parameters will not match.
- Click Add. A new entry row appears.
- Enter the Parameter Name.
- Do one of the following:
- If you want to match messages where this parameter is set to a specific value: Enter , enter that value under Value.
- You can also use criteria expressions to create, for example, string pattern matches.
- If you want to match all messages that include this parameter (no matter what value it is set to): Enable , enable Correlate whenever the parameter name is present regardless of value.
- If you want to match messages where this parameter is set to a specific value: Enter , enter that value under Value.
For example, assume that an asset is deployed under the path http://myvirtserver:9080/MyAsset/MyPath and the following URL Parameters are specified in a responder:
...
The Data Source Correlation tab allows you to specify which data source row values to use in virtual asset responses. When an incoming message matches the responder correlation settings, Virtualize performs a data lookup in the data source based on the data source correlation settings to find a row of data. The row is then used to populate the response (as defined in the Response tab) with parameterized values from the data source. Note that if multiple rows are returned, the first one is used.
For example, the following configures a correlation between the loanAmount value in incoming messages and the Amount column within the ApprovalLists data source:
...





