This topic describes the basic flow for correlation scripts with VuGen's Design Studio.
Prepare for correlation
To prepare your script to perform correlation through the Design Studio window:
Record a script that supports automatic correlation. The common protocols are:
- Web HTTP/HTML
- SAP - Web
Note: You can correlate the Web HTTP/HTML steps only within your Oracle NCA script when the Web HTTP/HTML protocol is active. To activate, select Recording Options > Protocol > Active Protocols > Web HTTP/HTML.
For additional information, see Oracle NCA correlation
Open the Record > Recording Options > Correlations > Configuration section and make sure that all scan types are enabled.
Perform the correlation
Once you have a recording, the Correlation Studio will help you perform the correlation.
In the Correlation tab, click the Design Studio button to perform an initial scan. This will open the Design Studio dialog box which will scan for response (or record based) correlations and apply correlation rules. The progress bar in the dialog box indicates if the initial scan was successful. For details on the Correlation tab, see Correlating values.
Select which values to correlate by highlighting the value in the grid and clicking Correlate. The Correlation studio begins the correlation. When a value is correlated, VuGen adds a web_reg_save_param_* function, and saves the original value in a comment within the script.
Examine the details of the correlation by expanding the Details section. For details, see Correlating values.
Click the Add as Rule button to add a rule type. In addition, you can click the Edit rule button to view and edit the corresponding rule if the dynamic value was correlated by a rule. For details, see Correlations > Rules recording options.
Optionally modify the correlation definitions for the current script. You can modify correlation definitions to help eliminate dynamic values that do not require correlation.
Expand the Details section, and view the Original Snapshot Step tab.
In the Correlation Definition section, select the definition type, such as Boundary Based, Regular Expression, or JSONPath type.
Edit the relevant values, such as boundaries, regular expression, or query.
For details about modifying WinSock correlation definitions, see Winsock correlation.
- Click the Replay & Scan button. The Correlation tab progress bar indicates if additional correlations have been found. Again, you can select which values you would like to correlate by highlighting the value in the grid and clicking the Correlate button.
- Repeat this step several times until the Design Studio can no longer find new correlations. The progress bar indicates" Design Studio Scan Complete.
Tip: If Design Studio does not resolve all correlation-based errors, try to resolve them using manual correlation. For details, see Manually correlate scripts.