Provision a multistep browser test (ProvisionTests)

For this use case, you want to define a browser test that contains one to many steps defined in a GSL Script. The script was created using the Recorder. To do this, use a query that returns all the available Scripts stored in the Dynatrace Portal. Each script has a unique script id that must be included in the monitor order in order for the multistep browser test to be created.

As required when creating a single step browser test, first decide the IP version the test will use (IPv4_only, IPv6_only, or IPv6_preferred). You also need to know which Backbone nodes (also called sites) are available to your account and that support the chosen IP version preference. Next, decide whether the test is to run on all the available sites or only a subset of those sites. The web service provides a method to get the list of available sites for the account and indicates, for each site, whether IP version 6 is supported.

Additionally, you can set the following parameters on the browser test:

  • [test] name

  • agentType

  • summaryFlag

  • includeRenderTimeFlag

  • expirationDate

  • folder

  • frequencyInMins

  • monitorStatus

  • folderStatus

The provisioning request may contain zero to many single step browser test definitions and zero to many multistep browser test definitions.

The provisioning response shows whether processing was completely successful and provided that information both at the level of the entire request and at the level of each browser test definition submitted to the system.

Sample request

<soapenv:Envelope xmlns:soapenv=""
            <prov:MultiStepMonitor name="EG 08-14-2012 002"
                  <prov:MonitorSite siteId="880"/>

Sample response

<soap:Envelope xmlns:soap=""
      <ProvisionTestsResponse xmlns="">
            <MonitorOrderResponse name="MyUser 08-14-2012 002"
               <Message>Successfully provisioned monitor: AccountName =
                        My Account Name, MonitorName = EG 08-14-2012 002,
                        MonitorId =260847</Message>