After re-recording the same scenario, highlighting non-correlated dynamic values is another useful feature. This feature highlights the possible values that might need correlation by comparing the re-recorded scenario with the verified test case.
1. After running verify, in the Verification tree, right-click on the error/warning session in the original test case and select Highlight non-correlated dynamic values...
2. In the Select a Session to Compare window, click Record New... (a) to re-record the identical test scenario for comparison. The recording wizard will appear to take you through the steps of re-recording. This will create a temporary test case that can be deleted after the correlation process is complete. Therefore you don't need to annotate transactions. The recording wizard will automatically give a suggested test case name
<Current Test Case> - Compare . Once recording is complete, the verify tree should still be open. Go back to Step 1 of the process above and then proceed to Step 3.
3. If the identical test scenario for comparison is already recorded, then it will be selected in the Test Case drop-down as
<Current Test Case> - Compare (b). StresStimulus will try to automatically select the corresponding session (c). The session number will not necessarily match, but the session content will. If the session is not selected, select it manually. Then click OK (d).
4. The Highlighting non-correlated dynamic values inspector will open in a separate tab. The highlighted text points out the dynamic parameters that need to be created. To quickly traverse through the differences, repeatedly click Highlight the Next Difference (e) on the toolbar. In the example shown in the screenshot above, the first value of the parameter openFormIds, recorded as 40F (f), should be parameterized.
5. Select the green text on the left and click the Find the highlighted text in the previous responses button (h). Alternatively, right click and select the same item in the context menu. The responses that contain the selected value will be highlighted in the test case tree (i). If no responses are highlighted, then the dynamic value was originated on the client and should be parameterized. Otherwise, create the appropriate extractor for the highlighted value (i) (if one doesn't already exist). Right-click and select Create Response Extractor (j).
6. Create Extractor dialog will appear with the dynamic value highlighted (k). Continue creating the extractor as described in the Extractors section.
7. To create the parameter, go back to the compare Session inspector, select the dynamic value (f) and click the Parameterize the selected value button (l) on the toolbar. A Create Parameter dialog with the pre-selected value (m) will open. Right-click, and from the Variable Picker, select the extractor (n) created in step 6.
- No labels