Exclude Options

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.

  • Names

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.

  • Values

This option is checked and the listed parameter values are excluded by default.

How to

  1. 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:
    • Name
    The wizard assigns this name for use by CloudTest. This name is based on the Property Name found in column 5 and is used to refer to this pair in the session template package and in the Central > Session Templates list.
    • Value
    This value corresponds to the named location or action. For example, the value for a location is a relative URL.
    • Found in Response
    This is the test clip component that contains the message response in which the name/value pair is first found. For example, the pair may be first recorded in an HTTP response.
    • Used in Request(s)
    This is the test clip component in which the name/value pair is first used by the test clip. For example, a location or property that is found in Message2 may not be used until a subsequent message. Any additional occurrences of the pair beyond the first are indicated by count in parentheses. For example, (+4).
    • Property Name
    The name of the property specified by responses from the target site. This is distinct from the CloudTest-assigned name in column 1 although the value may be the same.
    • Value Retrieval Method
    Each row has a Value Retrieval Method and an Edit button. The possible method types are:
    • SubString
    • XPath
    • New Script
    • Existing Script

  2. 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.
  3. 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.
  4. Give the session template package a name, and optionally, specify a folder location and a description for it.
  5. 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.
  6. 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.