ProvisionTestsResponse

A ProvisionTestsResponse element returned by the server in response to a ProvisionTests operation invocation. It reports the status of each monitor order transaction within the ProvisionTestsRequest.

Derived by

Extending ProvisioningResponseType

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
ResponseStatus ResponseStatusType 1..1 No This element appears in most of the responses issued when the Test Management API operations are invoked.
ErrorMessage [type OperationResponseType] string 0..1 No The error message is provided if the ResponseStatus was FAILURE.
MonitorOrderResponses anyType (restriction) 1..1 No MonitorOrderResponses are collections of MonitorOrderResponse elements. They occur in the responses of both ProvisionTests and UpdateTests operation invocations. See the MonitorOrderResponse help page for more information.

Example

In this example, two transactions were successfully executed.

<ProvisionTestsResponse
   xmlns="http://www.gomeznetworks.com/schemas/provisioning">
   <ResponseStatus>SUCCESS</ResponseStatus>
   <MonitorOrderResponses>
      <MonitorOrderResponse name="eg_2012-11-29T13:11:50.460_FF 1"
       folder="ws_provision" monitorId="328659" monitorStatus="Active"
       orderStatus="SUCCESS">
         <Message>Successfully provisioned monitor: AccountName = DEV - Eric Smith,
       MonitorName = eg_2012-11-29T13:11:50.460_FF 1, MonitorId =328659</Message>
      </MonitorOrderResponse>
      <MonitorOrderResponse name="eg_2012-11-29T13:11:50.460_FF 2"
       folder="ws_provision" monitorId="328660" monitorStatus="Active"
       orderStatus="SUCCESS">
         <Message>Successfully provisioned monitor: AccountName = DEV -
             Eric Smith, MonitorName = eg_2012-11-29T13:11:50.460_FF 2,
             MonitorId =328660</Message>
      </MonitorOrderResponse>
   </MonitorOrderResponses>
</ProvisionTestsResponse>

In the next example, the first transaction succeeded, while the second failed:

<ProvisionTestsResponse
   xmlns="http://www.gomeznetworks.com/schemas/provisioning">
   <ResponseStatus>FAILURE</ResponseStatus>
   <MonitorOrderResponses>
      <MonitorOrderResponse name="es_2012-11-29T13:11:50.460_FF 3"
       folder="ws_provision" monitorId="328661" monitorStatus="Active" orderStatus="SUCCESS">
         <Message>Successfully provisioned monitor: AccountName =
       DEV - Eric Smith, MonitorName = eg_2012-11-29T13:11:50.460_FF 3, MonitorId
        =328661</Message>
      </MonitorOrderResponse>
      <MonitorOrderResponse name="es_2012-11-29T13:11:50.460_FF 4"
       folder="ws_provision" monitorId="328662" monitorStatus="Active" orderStatus="FAILURE">
         <Message>The site product combination (Site = 884,
       Product=UTA-TRANSACTION) does not support IPv6.</Message>
      </MonitorOrderResponse>
   </MonitorOrderResponses>
</ProvisionTestsResponse>

The ResponseStatus in the second example is FAILURE because not all transactions were successful. However, the successful transaction is shown to be successful in its MonitorOrderResponse.