aquaAgentWebservice


Click here for a complete list of operations.

SendUpdate

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /aquaAPI/aquaagentwebservice.asmx HTTP/1.1
Host: app.aqua-cloud.io
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://aqua/webservice/SendUpdate"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SendUpdate xmlns="http://aqua/webservice/">
      <_agentCode>string</_agentCode>
      <_update>
        <ProcessElementExecutionId>int</ProcessElementExecutionId>
        <ExecutionLogMessages>
          <ExecutionLogMessage>
            <Type>SUTError or ScriptExecutionError or PreparationError or ExecutionError or InformationalInfo or InformationalDebug or InformationalWarn or InformationalSuccess</Type>
            <OccurrenceTime>dateTime</OccurrenceTime>
            <DetailedMessage>string</DetailedMessage>
            <Message>string</Message>
            <Category>string</Category>
            <Id>int</Id>
            <ScreenShotCheckSum>string</ScreenShotCheckSum>
            <ProcessElementExecutionId>int</ProcessElementExecutionId>
          </ExecutionLogMessage>
          <ExecutionLogMessage>
            <Type>SUTError or ScriptExecutionError or PreparationError or ExecutionError or InformationalInfo or InformationalDebug or InformationalWarn or InformationalSuccess</Type>
            <OccurrenceTime>dateTime</OccurrenceTime>
            <DetailedMessage>string</DetailedMessage>
            <Message>string</Message>
            <Category>string</Category>
            <Id>int</Id>
            <ScreenShotCheckSum>string</ScreenShotCheckSum>
            <ProcessElementExecutionId>int</ProcessElementExecutionId>
          </ExecutionLogMessage>
        </ExecutionLogMessages>
        <ExecutionStatus>Queued or InProgress or Ready or Fail or Aborted or Blocked or NotApplicable</ExecutionStatus>
        <Samples>
          <LoadTestSample>
            <Id>int</Id>
            <ThreadCount>int</ThreadCount>
            <MaximalResponseTime>double</MaximalResponseTime>
            <MinimalResponseTime>double</MinimalResponseTime>
            <BytesTransferred>long</BytesTransferred>
            <SquaresRequestResponseTime>double</SquaresRequestResponseTime>
            <TotalRequestResponseTime>double</TotalRequestResponseTime>
            <RequestsNumber>int</RequestsNumber>
            <RequestName>string</RequestName>
            <DurationMS>int</DurationMS>
            <StartDate>dateTime</StartDate>
            <ErrorCount>int</ErrorCount>
            <AgentCode>string</AgentCode>
          </LoadTestSample>
          <LoadTestSample>
            <Id>int</Id>
            <ThreadCount>int</ThreadCount>
            <MaximalResponseTime>double</MaximalResponseTime>
            <MinimalResponseTime>double</MinimalResponseTime>
            <BytesTransferred>long</BytesTransferred>
            <SquaresRequestResponseTime>double</SquaresRequestResponseTime>
            <TotalRequestResponseTime>double</TotalRequestResponseTime>
            <RequestsNumber>int</RequestsNumber>
            <RequestName>string</RequestName>
            <DurationMS>int</DurationMS>
            <StartDate>dateTime</StartDate>
            <ErrorCount>int</ErrorCount>
            <AgentCode>string</AgentCode>
          </LoadTestSample>
        </Samples>
      </_update>
    </SendUpdate>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SendUpdateResponse xmlns="http://aqua/webservice/">
      <SendUpdateResult>
        <Type>Abort</Type>
        <ProcessElementExecutionId>int</ProcessElementExecutionId>
      </SendUpdateResult>
    </SendUpdateResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /aquaAPI/aquaagentwebservice.asmx HTTP/1.1
Host: app.aqua-cloud.io
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendUpdate xmlns="http://aqua/webservice/">
      <_agentCode>string</_agentCode>
      <_update>
        <ProcessElementExecutionId>int</ProcessElementExecutionId>
        <ExecutionLogMessages>
          <ExecutionLogMessage>
            <Type>SUTError or ScriptExecutionError or PreparationError or ExecutionError or InformationalInfo or InformationalDebug or InformationalWarn or InformationalSuccess</Type>
            <OccurrenceTime>dateTime</OccurrenceTime>
            <DetailedMessage>string</DetailedMessage>
            <Message>string</Message>
            <Category>string</Category>
            <Id>int</Id>
            <ScreenShotCheckSum>string</ScreenShotCheckSum>
            <ProcessElementExecutionId>int</ProcessElementExecutionId>
          </ExecutionLogMessage>
          <ExecutionLogMessage>
            <Type>SUTError or ScriptExecutionError or PreparationError or ExecutionError or InformationalInfo or InformationalDebug or InformationalWarn or InformationalSuccess</Type>
            <OccurrenceTime>dateTime</OccurrenceTime>
            <DetailedMessage>string</DetailedMessage>
            <Message>string</Message>
            <Category>string</Category>
            <Id>int</Id>
            <ScreenShotCheckSum>string</ScreenShotCheckSum>
            <ProcessElementExecutionId>int</ProcessElementExecutionId>
          </ExecutionLogMessage>
        </ExecutionLogMessages>
        <ExecutionStatus>Queued or InProgress or Ready or Fail or Aborted or Blocked or NotApplicable</ExecutionStatus>
        <Samples>
          <LoadTestSample>
            <Id>int</Id>
            <ThreadCount>int</ThreadCount>
            <MaximalResponseTime>double</MaximalResponseTime>
            <MinimalResponseTime>double</MinimalResponseTime>
            <BytesTransferred>long</BytesTransferred>
            <SquaresRequestResponseTime>double</SquaresRequestResponseTime>
            <TotalRequestResponseTime>double</TotalRequestResponseTime>
            <RequestsNumber>int</RequestsNumber>
            <RequestName>string</RequestName>
            <DurationMS>int</DurationMS>
            <StartDate>dateTime</StartDate>
            <ErrorCount>int</ErrorCount>
            <AgentCode>string</AgentCode>
          </LoadTestSample>
          <LoadTestSample>
            <Id>int</Id>
            <ThreadCount>int</ThreadCount>
            <MaximalResponseTime>double</MaximalResponseTime>
            <MinimalResponseTime>double</MinimalResponseTime>
            <BytesTransferred>long</BytesTransferred>
            <SquaresRequestResponseTime>double</SquaresRequestResponseTime>
            <TotalRequestResponseTime>double</TotalRequestResponseTime>
            <RequestsNumber>int</RequestsNumber>
            <RequestName>string</RequestName>
            <DurationMS>int</DurationMS>
            <StartDate>dateTime</StartDate>
            <ErrorCount>int</ErrorCount>
            <AgentCode>string</AgentCode>
          </LoadTestSample>
        </Samples>
      </_update>
    </SendUpdate>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendUpdateResponse xmlns="http://aqua/webservice/">
      <SendUpdateResult>
        <Type>Abort</Type>
        <ProcessElementExecutionId>int</ProcessElementExecutionId>
      </SendUpdateResult>
    </SendUpdateResponse>
  </soap12:Body>
</soap12:Envelope>