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.

Get a list of tests by AgentType (GetTests)

For this use case, you want to filter the GetTests() output by agentType, where the agentType indicates the type of browser used to execute the test. The API supports multiple agent types. For more information, see AgentType. You can restrict the output of GetTests() by agent type using a MonitorFilter containing the name of the AgentType whose tests you want to see. The following GetTests() query contains a MonitorFilter restricting output to only tests run by a FireFox browser agent:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:GetTestsRequest>
         <prov:Credentials>
            <prov:UserName>MyUser</prov:UserName>
            <prov:Password>MyPassword</prov:Password>
         </prov:Credentials>
         <prov:MonitorFilter>
            <prov:AgentType>FF</prov:AgentType>
         </prov:MonitorFilter>
      </prov:GetTestsRequest>
   </soapenv:Body>
</soapenv:Envelope>