Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Mapping properties


You can map properties to automation scripts parameters to use the same property values in multiple automation scripts. For example, when you put a value for a class_path into properties, you map the same value to each request working with the same components and the same environments.

Property mapping depends on the component or the server that the appropriate property is mapped to:

Mapping a property against a parameter using application mapping option

  1. Create a property and ensure that a property has a value assigned
  2. Assign components to a property.
  3. Go to Environment > Automation.
  4. From the automation scripts list, click the required script to open the script information panel.
  5. Under the script body, click map next to the script parameter that you want to use property for.

    Note

    Property mapping is not available for the following argument types:

    • in-file
    • in-date
    • in-datetime
    • in-time
    • All output arguments
  6. In the Map parameters > arguments dialog box, in the Select the Mapping Source section, ensure that Application Mapping is selected.
  7. In the Select the Mapped elements section, select the required application,  and its associated environments, components, and properties.
  8. Click Save.

When you use the mapped script in a particular step of a request, the property value is automatically assigned to that step.

Mapping a property against a parameter using infrastructure mapping option

  1. Create a property and ensure that a property has a value assigned
  2. Associate the property to a server or to the server level.
  3. Go to Environment > Automation
  4. From the automation scripts list, click the required script to open the script information panel.
  5. Under the script body, click map next to the script parameter that you want to use property for.

    Note

    Property mapping is not available for the following argument types:

    • in-file
    • in-date
    • in-datetime
    • in-time
    • All output arguments
  6. In the Map parameters > arguments dialog box, in the Select the Mapping Source section, ensure that the Infrastructure Mapping is selected.
  7. In the Select the Mapped elements, select the required entity level (server or server level) and its appropriate entity (server or server level), and then select the required server property.
  8. Click Save.

When you use the mapped script in a particular step of a request, the property value is automatically assigned to that step.

Related topic

Managing-properties

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*