PartialUpdate

One or more PartialUpdate elements appear in an UpdateTestParametersRequest. Each PartialUpdate targets a specific monitor. A PartialUpdate may be used to update the list of sites to which a monitor is deployed, the name of a test step, or one or more test parameters such as SummaryFlag, IncludeRenderTime, IP version, etc.

Derived by

Restricting anyType

Attributes

Name Type Required? Default Description
monitorId string Yes The monitorId uniquely identifies the browser test in the Dynatrace Portal for the account.

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
MonitorProperties anyType (restriction) 0..1 No The MonitorProperties element appears in UpdateTestParameters operation invocations. It is a container of MonitorProperty elements, name value pairs used to set new values on the test parameters of previously provisioned tests.
Steps anyType (restriction) 0..1 No A Steps element is a collection of one to many Steps. Everywhere a Step may appear, it is enclosed in such a collection.
MonitorSites anyType (restriction) 0..1 No The MonitorSites element is a container of MonitorSite elements. See MonitorSite for more information.

Referenced by

Example

The following PartialUpdate element is used to update the site list:

 <prov:UpdateTestParametersRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <!--1 or more repetitions: -->
    <prov:PartialUpdate monitorId="326334">
        <prov:MonitorSites>
            <prov:MonitorSite siteId="777" siteName="TPNTS7 - MA: Boston"
                city="Lexington" state="MA" countryCode="US" ipV6Enabled="false" />
            <prov:MonitorSite siteId="865" siteName="TPNPEKSA12 - Beijing China test"
                city="Beijing" state="" countryCode="CN" ipV6Enabled="false" />
        </prov:MonitorSites>
    </prov:PartialUpdate>
</prov:UpdateTestParametersRequest>

The following example can be used to rename a test step:

 <prov:UpdateTestParametersRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <prov:PartialUpdate monitorId="264019">
        <prov:Steps>
            <prov:Step stepSeqNum="0">
                <prov:DisplayName>Acme Bank of Folstoff</prov:DisplayName>
            </prov:Step>
        </prov:Steps>
    </prov:PartialUpdate>
</prov:UpdateTestParametersRequest>

The following example shows how to modify a monitor property (ExpirationDate):

 <prov:UpdateTestParametersRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <prov:PartialUpdate monitorId="264019">
        <prov:MonitorProperties>
            <prov:MonitorProperty name="ExpirationDate"
                value="2011-07-19T19:24:51.96" />
        </prov:MonitorProperties>
    </prov:PartialUpdate>
</prov:UpdateTestParametersRequest>

See MonitorProperties for more examples of how test properties can be modified.