AddOrUpdateSubstitutionParametersRequest

An AddOrUpdateSubstitutionParametersRequest contains credentials and a collection of 1 to many ParameterizedMonitor elements. A ParameterizedMonitor element contains test data relevant to the definition of global and site-level substitution parameters. A substitution parameter is a user-defined script variable whose value may be updated via the Test Management API, either at the global level or at the site level. This element is typically embedded in a SOAP message.

Derived by

Restricting anyType

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
Credentials anyType (restriction) 1..1 No A Credentials element contains the username and password of an account user. The element is required in all requests to the Test Management Web Service.
UserName [element Credentials] string 1..1 No The UserName for the account (and used for authentication).
Password [element Credentials] string 1..1 No A secret used as part of user credentials for authentication. Every request to the Test Management API web service must include a Credentials element. That element itself contains a UserName and a Password element.
ParameterizedMonitor anyType (restriction) 1..* No A ParameterizedMonitor is a description of a browser test that contains substitution parameters. This element appears in a GetParameterizedTestsResponse and in an AddOrUpdateSubstitutionParametersRequest. In the first context, it describes a configuration of an existing browser test (one that has substitution parameter definitions). In the second context, it describes the manner in which existing global substitution parameters are to be updated and/or the manner in which site-level substitution parameters are to be created, updated or deleted.

Example

<prov:AddOrUpdateSubstitutionParametersRequest
   xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <prov:Credentials>
      <prov:UserName>erics</prov:UserName>
      <prov:Password>erics</prov:Password>
   </prov:Credentials>
   <prov:ParameterizedMonitor monitorId="328430">
      <prov:SubstitutionParameters>
         <prov:SubstitutionParameter id="0"
           name="UserName" value="Updated User 11/05/2012 2:56:05 PM"/>
      </prov:SubstitutionParameters>
   </prov:ParameterizedMonitor>
</prov:AddOrUpdateSubstitutionParametersRequest>