Applying Session Templates and Packages

Document created by Chris Sommerstad Employee on Jul 21, 2017
Version 1Show Document
  • View in full screen mode

A Session Template Package contains a set of session templates that were originally created using a selected test clip. Each session template pertains to a specific attribute/value pair from the original session. For example, the first session template in the My .Net Template Package below is _EVENTVALIDATION.

 

Existing session template packages can be viewed via the new Central > Session Templates list.

  • Click the arrow for a package to expand the session templates in it.

Apply a Session Template Package from Session Templates List

  1. Navigate to Central > Session Templates.
  2. In the Session Templates list, select the Session Template Package to apply.
  3. Right-click the selected package folder and select Apply to a Test Clip.

  1. The Test Clip Explorer dialog box appears. Select the test clip to which this package will be applied and click OK.

The Applying Session Templates page appears and immediately starts to apply the selected template(s). Progress is shown in the green progress bar.

The number of applied session templates is noted under the progress bar, and the applied templates are listed. Additional information is provided by the Name, Extracted Value, Found in Response, and Used in Request(s) fields.

  1. Click OK to exit.

 

Adding a Session Template to a New Package

An existing session template can be added to a new package via the Central > Session Templates list. Use this feature to create session template packages from existing session templates.

 

  1. Navigate to Central > Session Templates.
  1. In the Session Templates list, locate one or more session template entries in the list (e.g. not under a package folder).
  1. Once selected, right-click and select the Add to a New Package… command.

The New Session Template Package dialog box appears.

  1. Assign a name to the new package and optionally assign an existing or create a new folder for it.
  2. Click OK to create the new session template package.

 

Removing Session Template from a Package

 

An existing session template can be revised by removing one or more session templates from it. Use this feature to fine tune existing session template packages.

  1. Navigate to Central > Session Templates.
  1. In the Session Templates list, locate the session template package to revise and expand it.

  1. Locate the individual session template in the list (e.g. not under a package folder) and select it.
  2. Right click the selected session template and select the Remove from Package command.

The session template is removed from the session template package.

Applying a Session Template from the Session Templates List

  1. Navigate to Central > Session Templates.
  2. In the Session Templates list, locate the session template’s individual entry in the list (e.g. not under a package folder).
  3. Right-click the selected session template and select Apply to a Test Clip.
  1. The Test Clip Explorer dialog box appears. Select the test clip to which this package will be applied and click OK.

The Applying Session Templates page appears and immediately starts to apply the selected template(s). Progress is shown in the green progress bar.

The number of applied session templates is noted under the progress bar, and the applied templates are listed. Additional information is provided by the Name, Extracted Value, Found in Response, and Used in Request(s) fields.

  1. Click OK to exit.

Highlight Applied Session Templates

Aapplied session templates can be highlighted in both Clip Editor Icon and List views by using the Highlight button in the Properties > Applied Session Templates and Packages node.

Once Applied Session Templates & Packages is selected, select the package (if there is more than one) in the Name list. The Summary pane (far right) indicates by color those messages extracted from (green) and those messages values were applied to (yellow).

Click the Highlight button to view the messages in the workspace. 

    • A highlighted green message indicates the message from which one or more session template values was extracted

CloudTest attempts to display as many highlighted messages in the workspace as possible.

  • A highlighted yellow message indicates one or more applied session template values were substituted in it.

In Icon view, the highlighted values surround the large icon(s). While in List view, the highlighted values surround the message name(s).

Additional color-coded detail is provided in the Clip Editor > Properties tab > Applied Session Templates & Packages node by selecting the template by name and inspecting its values on the far right.

As with highlighting in the Clip Editor workspace above, the Summary pane shows the source for values as green, while the applied values are yellow.

Attachments

    Outcomes