Time to upgrade! You only have until October 31, 2019 to move to Dynatrace, our all-in-one software intelligence platform. For details, see the Synthetic Upgrade Center and Dynatrace Synthetic documentation.

Delete a test (TestStatusUpdate)

In this use case, you want to delete a test, which decreases the number of active tests and increases the number of available tests. The number of tests that you can create is currently constrained to the number you purchased. So it is beneficial to delete tests when they are no longer useful to you. The method to do this is TestStatusUpdate(). Change the test’s status to Deleted and the test is deleted.

Sample request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:TestStatusUpdateRequest>
         <prov:Credentials>
            <prov:UserName>MyUser</prov:UserName>
            <prov:Password>MyPassword</prov:Password>
         </prov:Credentials>
         <!--1 or more repetitions:-->
         <prov:TestStatusUpdate monitorId="270276" status="Deleted"/>
      </prov:TestStatusUpdateRequest>
   </soapenv:Body>
</soapenv:Envelope>