The exclude names and values specified here are skipped during the scan for every Include type on the left. The following Exclude options are presented:
- Values shorter than x characters
This option is checked and set to 2 characters by default.
This option is checked and the listed HTTP header names are excluded by default. These options (along with the URLs field) formerly comprised the Show Advanced section.
This option is checked and the listed parameter values are excluded by default.
- Once ready, click Scan Clip.The Scan Clip button becomes inactive and the scan begins. After the clip is scanned, the scan button automatically becomes re-enabled if the Include or Exclude options are changed.Scan progress is indicated by the green progress bar. Rows begin to appear as the scan progresses.Additionally, the Working icon appears on the right edge of the Progress bar and to the left of the Scan Clip button.Once the scan is complete, the green checkmark appears and the table below is populated with name/value pairs. Some rows may appear before the scan completes. Rows whose names have values for suggested replacement are checked.The scan results are presented in the following columns:
- Found in Response
- Used in Request(s)
- Property Name
- Value Retrieval Method
- New Script
- Existing Script
- Review the scan results. Examine the suggested checked values to replace, as well as any unchecked items of interest.Check the box for any row to add it to the package as is, or click its Edit button to make changes via the selected value retrieval method.Note: For edited items, the row is checked automatically when changes are made via the XPath Editor or SubString Parser.
- Optionally, click the Edit icon for a row to view or change details for the SubString or to review or edit the XPath detected by the scan.Refer to Editing an XPath, Parsing a SubString, Creating a New Script, or Use an Existing Script below for additional instructions for either method. Note that the Session Template Package Wizard’s Scan Clip function returns results that can be expanded to show all prior messages in the scanned test clip that contain that same value. The user can then select the most relevant value from among those expanded. The original message is displayed as the parent row, with only one level of nesting for all the other messages.To expand the row, click its corresponding arrow.Once expanded, the children are all displayed in one level. The expanded row shows the same value selected that was already selected before expansion, in which case that value appears with its radio button selected. This level contains all of the other messages with this value. A radio button is displayed for each possible selection. The child row is where a given value originates. It allows the user to chose to extract not from the first response we find the value in, but from previous responses.
- Give the session template package a name, and optionally, specify a folder location and a description for it.
- Once the settings for each checked row are satisfactory, click Apply. The progress bar once again indicates the status, this time applying the specified values.When you click Apply, all checked rows are sent to the server. Then, working on the draft of the test clip, the Session Template Package wizard creates clip-level custom properties, and adds the corresponding message-level property paths that utilize them, as well as defining Property Sets.Note: In the Session Templates Package Wizard any Session Templates that use the Existing Script or New Script options will appear with their text in the list with strike-through on it, to indicate that the time will not be saved as one of the Session Templates in the package.
- Click OK to complete the process. Clicking OK renames the original clip and promotes the draft to the original clipname and then exits the wizard.