ProvisionLastMileTestsRequest

A ProvisionLastMileTestsRequest element is sent in a ProvisionLastMileTests operation invocation.

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 of an employee for an 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.
SingleStepLastMileMonitors anyType (restriction) 0..1 No A SingleStepLastMileMonitors element appears in a ProvisionLastMileTestsRequest and is used to create one or more Last Mile tests that browse a single URL.

Example

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:ProvisionLastMileTestsRequest>
         <prov:Credentials>
            <prov:UserName>EricS</prov:UserName>
            <prov:Password>EricS</prov:Password>
         </prov:Credentials>
         <prov:SingleStepLastMileMonitors>
            <prov:SingleStepLastMileMonitor Name="Test" ipVersion="IPv6_preferred"
                  Status="Active" summaryFlag="On" agentType="FF" Folder="TestFolder"
                  ExpirationDate="2014-09-10T00:00:00.000+08:00">
               <prov:URL>http://www.google.com</prov:URL>
               <prov:captureDNSServer>true</prov:captureDNSServer>
               <prov:captureRequestResponseHeader>true</prov:captureRequestResponseHeader>
               <prov:Populations>MyPopulation</prov:Populations>
            </prov:SingleStepLastMileMonitor>
         </prov:SingleStepLastMileMonitors>
      </prov:ProvisionLastMileTestsRequest>
   </soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <ProvisionLastMileTestsResponse
         xmlns="http://www.gomeznetworks.com/schemas/provisioning">
         <ResponseStatus>SUCCESS</ResponseStatus>
         <LastMileMonitorOrderResponses>
            <LastMileMonitorOrderResponse name="Test" folder="TestFolder"
               monitorId="542453" mbgmonitorId="16755" mbgId="15088"
               monitorStatus="Active" orderStatus="SUCCESS"/>
         </LastMileMonitorOrderResponses>
      </ProvisionLastMileTestsResponse>
   </soap:Body>
</soap:Envelope>