MainService


Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.

GetPartialExecutionsOfTestCase

Returns partial list of executions for given test case, basing on dates of executions cached already at client side. This method allows fetching executions in portions, avoiding transmitting the full ist of executions (which might be very big in some cases)

Parameters _clientMinValueTicks and _clientMaxValueTicks denote minimal and maximal values of LastModifed field of the executions (of this test case) already cached at client side. Server performs following algorithm: all execution modified later than _clientMaxValueTicks are included in the result. Additionally, if _maxNumberOfOlderTJE > 0 then server returns up to _maxNumberOfOlderTJE of 'older' executions (older than _clientMinValueTicks, if any), sorted by LastModifed descending.

Returned list contains lightweight executions objects, without information about executed steps. To get full execution object you need to call GetTestJobExecutionsByIds() method.

Test

Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.

SOAP 1.1

Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /aquaAPI/mainservice.asmx HTTP/1.1
Host: aqua-demo2.andagon.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://aqua-api.andagon.com/GetPartialExecutionsOfTestCase"

<?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>
    <GetPartialExecutionsOfTestCase xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testCaseId>int</_testCaseId>
      <_clientMinValueTicks>long</_clientMinValueTicks>
      <_clientMaxValueTicks>long</_clientMaxValueTicks>
      <_maxNumberOfOlderTJE>int</_maxNumberOfOlderTJE>
    </GetPartialExecutionsOfTestCase>
  </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>
    <GetPartialExecutionsOfTestCaseResponse xmlns="http://aqua-api.andagon.com/">
      <GetPartialExecutionsOfTestCaseResult>
        <TestJobExecutionHeader>
          <ExecutionDate>dateTime</ExecutionDate>
          <LastModifiedTicks>long</LastModifiedTicks>
          <Id>int</Id>
          <TestJobExecutionType>Unknown or Manual or Automated</TestJobExecutionType>
          <TesterId>int</TesterId>
          <LastEditorId>int</LastEditorId>
          <TestScenarioId>int</TestScenarioId>
          <TestScenarioExecutionId>int</TestScenarioExecutionId>
          <TestJobId>int</TestJobId>
          <Status>NotRun or Incomplete or Failed or Pass or Blocked or Queued or InProgress or Aborted or Waiting</Status>
          <TestCaseId>int</TestCaseId>
          <ValueSetName>string</ValueSetName>
          <TestCaseName>string</TestCaseName>
          <TestCaseFormattedId>string</TestCaseFormattedId>
          <Version>int</Version>
          <TestedVersion>string</TestedVersion>
          <IrrelevantFlaggedBy>int</IrrelevantFlaggedBy>
          <IrrelevantFlaggedAt>dateTime</IrrelevantFlaggedAt>
          <IrrelevantReason>string</IrrelevantReason>
          <Irrelevant>boolean</Irrelevant>
          <IndexForRun>int</IndexForRun>
          <AgentToUse>string</AgentToUse>
          <IsFinalized>boolean</IsFinalized>
          <HasAttachment>boolean</HasAttachment>
        </TestJobExecutionHeader>
        <TestJobExecutionHeader>
          <ExecutionDate>dateTime</ExecutionDate>
          <LastModifiedTicks>long</LastModifiedTicks>
          <Id>int</Id>
          <TestJobExecutionType>Unknown or Manual or Automated</TestJobExecutionType>
          <TesterId>int</TesterId>
          <LastEditorId>int</LastEditorId>
          <TestScenarioId>int</TestScenarioId>
          <TestScenarioExecutionId>int</TestScenarioExecutionId>
          <TestJobId>int</TestJobId>
          <Status>NotRun or Incomplete or Failed or Pass or Blocked or Queued or InProgress or Aborted or Waiting</Status>
          <TestCaseId>int</TestCaseId>
          <ValueSetName>string</ValueSetName>
          <TestCaseName>string</TestCaseName>
          <TestCaseFormattedId>string</TestCaseFormattedId>
          <Version>int</Version>
          <TestedVersion>string</TestedVersion>
          <IrrelevantFlaggedBy>int</IrrelevantFlaggedBy>
          <IrrelevantFlaggedAt>dateTime</IrrelevantFlaggedAt>
          <IrrelevantReason>string</IrrelevantReason>
          <Irrelevant>boolean</Irrelevant>
          <IndexForRun>int</IndexForRun>
          <AgentToUse>string</AgentToUse>
          <IsFinalized>boolean</IsFinalized>
          <HasAttachment>boolean</HasAttachment>
        </TestJobExecutionHeader>
      </GetPartialExecutionsOfTestCaseResult>
    </GetPartialExecutionsOfTestCaseResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /aquaAPI/mainservice.asmx HTTP/1.1
Host: aqua-demo2.andagon.com
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>
    <GetPartialExecutionsOfTestCase xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testCaseId>int</_testCaseId>
      <_clientMinValueTicks>long</_clientMinValueTicks>
      <_clientMaxValueTicks>long</_clientMaxValueTicks>
      <_maxNumberOfOlderTJE>int</_maxNumberOfOlderTJE>
    </GetPartialExecutionsOfTestCase>
  </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>
    <GetPartialExecutionsOfTestCaseResponse xmlns="http://aqua-api.andagon.com/">
      <GetPartialExecutionsOfTestCaseResult>
        <TestJobExecutionHeader>
          <ExecutionDate>dateTime</ExecutionDate>
          <LastModifiedTicks>long</LastModifiedTicks>
          <Id>int</Id>
          <TestJobExecutionType>Unknown or Manual or Automated</TestJobExecutionType>
          <TesterId>int</TesterId>
          <LastEditorId>int</LastEditorId>
          <TestScenarioId>int</TestScenarioId>
          <TestScenarioExecutionId>int</TestScenarioExecutionId>
          <TestJobId>int</TestJobId>
          <Status>NotRun or Incomplete or Failed or Pass or Blocked or Queued or InProgress or Aborted or Waiting</Status>
          <TestCaseId>int</TestCaseId>
          <ValueSetName>string</ValueSetName>
          <TestCaseName>string</TestCaseName>
          <TestCaseFormattedId>string</TestCaseFormattedId>
          <Version>int</Version>
          <TestedVersion>string</TestedVersion>
          <IrrelevantFlaggedBy>int</IrrelevantFlaggedBy>
          <IrrelevantFlaggedAt>dateTime</IrrelevantFlaggedAt>
          <IrrelevantReason>string</IrrelevantReason>
          <Irrelevant>boolean</Irrelevant>
          <IndexForRun>int</IndexForRun>
          <AgentToUse>string</AgentToUse>
          <IsFinalized>boolean</IsFinalized>
          <HasAttachment>boolean</HasAttachment>
        </TestJobExecutionHeader>
        <TestJobExecutionHeader>
          <ExecutionDate>dateTime</ExecutionDate>
          <LastModifiedTicks>long</LastModifiedTicks>
          <Id>int</Id>
          <TestJobExecutionType>Unknown or Manual or Automated</TestJobExecutionType>
          <TesterId>int</TesterId>
          <LastEditorId>int</LastEditorId>
          <TestScenarioId>int</TestScenarioId>
          <TestScenarioExecutionId>int</TestScenarioExecutionId>
          <TestJobId>int</TestJobId>
          <Status>NotRun or Incomplete or Failed or Pass or Blocked or Queued or InProgress or Aborted or Waiting</Status>
          <TestCaseId>int</TestCaseId>
          <ValueSetName>string</ValueSetName>
          <TestCaseName>string</TestCaseName>
          <TestCaseFormattedId>string</TestCaseFormattedId>
          <Version>int</Version>
          <TestedVersion>string</TestedVersion>
          <IrrelevantFlaggedBy>int</IrrelevantFlaggedBy>
          <IrrelevantFlaggedAt>dateTime</IrrelevantFlaggedAt>
          <IrrelevantReason>string</IrrelevantReason>
          <Irrelevant>boolean</Irrelevant>
          <IndexForRun>int</IndexForRun>
          <AgentToUse>string</AgentToUse>
          <IsFinalized>boolean</IsFinalized>
          <HasAttachment>boolean</HasAttachment>
        </TestJobExecutionHeader>
      </GetPartialExecutionsOfTestCaseResult>
    </GetPartialExecutionsOfTestCaseResponse>
  </soap12:Body>
</soap12:Envelope>