MainService


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

GetLatestsExecutionsOfTestCase

Returns list of executions for given test case. If more than _maxNumberOfNewTJE execution found, then returns only _maxNumberOfTJE most recently modified (ordered by LastModified 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/GetLatestsExecutionsOfTestCase"

<?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>
    <GetLatestsExecutionsOfTestCase xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testCaseId>int</_testCaseId>
      <_maxNumberOfTJE>int</_maxNumberOfTJE>
    </GetLatestsExecutionsOfTestCase>
  </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>
    <GetLatestsExecutionsOfTestCaseResponse xmlns="http://aqua-api.andagon.com/">
      <GetLatestsExecutionsOfTestCaseResult>
        <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>
      </GetLatestsExecutionsOfTestCaseResult>
    </GetLatestsExecutionsOfTestCaseResponse>
  </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>
    <GetLatestsExecutionsOfTestCase xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testCaseId>int</_testCaseId>
      <_maxNumberOfTJE>int</_maxNumberOfTJE>
    </GetLatestsExecutionsOfTestCase>
  </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>
    <GetLatestsExecutionsOfTestCaseResponse xmlns="http://aqua-api.andagon.com/">
      <GetLatestsExecutionsOfTestCaseResult>
        <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>
      </GetLatestsExecutionsOfTestCaseResult>
    </GetLatestsExecutionsOfTestCaseResponse>
  </soap12:Body>
</soap12:Envelope>