Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

This screen enables you to specify the following settings:

  • Request/response pairs - : configure how message groups map to responders
  • Request correlation - : configure which parameter values are used to determine which response messages in the virtual asset are sent
  • Service definition - : specify a service definition file that contains group and correlation definitions. 

...

You can configure the responder mode and specify custom correlations based on request body, URL paths, and request headers in the Request Correlation tab.

Initial Correlations

...


That XPath will be used in the generated responder’s Data Source Correlation tab as indicated below. 

Automatically - generated data source column names can be customized.

...

You can modify the initial correlations that were automatically configured using the controls available in the various correlation sections. If you've modified any of the configurations, you can click the Restore Default button discard changes and restore the initial, automatically - configured settings. The The Parameterized Responses responder mode must be enabled to configure the data source correlations (see Configuring the Responder Mode).

If you specify the same column name multiple times (e.g.for example, in URL Parameters and URL Paths), only one value will be set; the previous value(s) will be overwritten.

...

If you want to override the initial configuration shown in the wizard page, use the available controls to specify the XPath(s) and column name(s) that you want to use. 

Info
iconfalse
titleIgnoring Certain Values for Matching Purposes

Sometimes it’s desirable to ignore certain values (such as timestamps) for matching purposes. Virtualize is automatically configured to ignore timestamps—based timestamps, based on the following regular expression: 

[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,3})?(([+-][0-9]{2}:[0-9]{2})|Z)?

If you want to review, modify, or add exclusions, click the Exclusions button at the bottom of the page, then edit the values in the table. Element names are specified as exact matches or using a wildcard (*) to match everything. Values are specified as regular expressions.
 

If you always want to ignore certain values for matching purposes, you can enter them once in the Preferences> Parasoft> Preferences > Parasoft > Traffic File Processing area, and  and have them applied every time that a parameterized virtual asset is created from traffic. See Traffic File Processing Settings for details.

...

Based on the differences in the parameters, Virtualize would automatically configure 3 three data source correlation rows for this message group: countryCode, brandCode, and channelCode.

If you want to override the initial configuration shown in the wizard page, use the available controls to specify the parameter(s) and column name(s) that you want to use. 

Request URL Path Correlations

...

Based on the differences in segments 1 and 3 (using 0-based indexing), Virtualize would add 2 two data source correlation rows for this message group: one for path index 1, and one for path index 3.

If you want to override the initial configuration shown in the wizard page, use the available controls to specify which path segment to use for correlations. Path segments can be matched with one or more data source column name, then be parameterized with various data source columns. In the dialog that opens, specify the path segment you want to use (you can click the related path segment or enter the desired path index), then specify a name for the data source column.

...