MainService


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

GetTestScenario

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/GetTestScenario"

<?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>
    <GetTestScenario xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testScenarioId>int</_testScenarioId>
      <_format>Html or HtmlWithEmbeddedImages or RtfWithoutImages or RtfWithImages or PlainText</_format>
    </GetTestScenario>
  </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>
    <GetTestScenarioResponse xmlns="http://aqua-api.andagon.com/">
      <GetTestScenarioResult>
        <ValidFor>string</ValidFor>
        <TestJobs>
          <TestJob>
            <TestCaseId>int</TestCaseId>
            <Id>int</Id>
            <TesterId>int</TesterId>
            <ValueSetKey>string</ValueSetKey>
            <IndexInTestScenario>int</IndexInTestScenario>
            <TestedVersion>string</TestedVersion>
            <LastExecutionDateLocal>dateTime</LastExecutionDateLocal>
            <LastExecutionStatusLocal>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatusLocal>
            <LastExecutionHasAttachmentLocal>boolean</LastExecutionHasAttachmentLocal>
            <LastExecutionIsFinalizedLocal>boolean</LastExecutionIsFinalizedLocal>
            <LastExecutionIdLocal>int</LastExecutionIdLocal>
            <RunDependency>string</RunDependency>
          </TestJob>
          <TestJob>
            <TestCaseId>int</TestCaseId>
            <Id>int</Id>
            <TesterId>int</TesterId>
            <ValueSetKey>string</ValueSetKey>
            <IndexInTestScenario>int</IndexInTestScenario>
            <TestedVersion>string</TestedVersion>
            <LastExecutionDateLocal>dateTime</LastExecutionDateLocal>
            <LastExecutionStatusLocal>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatusLocal>
            <LastExecutionHasAttachmentLocal>boolean</LastExecutionHasAttachmentLocal>
            <LastExecutionIsFinalizedLocal>boolean</LastExecutionIsFinalizedLocal>
            <LastExecutionIdLocal>int</LastExecutionIdLocal>
            <RunDependency>string</RunDependency>
          </TestJob>
        </TestJobs>
        <LastExecutionDate>dateTime</LastExecutionDate>
        <LastExecutionStatus>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatus>
        <NumberOfTestJobs>int</NumberOfTestJobs>
        <NumberOfTestJobsPassed>int</NumberOfTestJobsPassed>
        <NumberOfTestJobsFailed>int</NumberOfTestJobsFailed>
        <NumberOfTestJobsBlocked>int</NumberOfTestJobsBlocked>
        <NumberOfTestJobsNotCompleted>int</NumberOfTestJobsNotCompleted>
        <NumberOfTestJobsNotRun>int</NumberOfTestJobsNotRun>
      </GetTestScenarioResult>
    </GetTestScenarioResponse>
  </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>
    <GetTestScenario xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_testScenarioId>int</_testScenarioId>
      <_format>Html or HtmlWithEmbeddedImages or RtfWithoutImages or RtfWithImages or PlainText</_format>
    </GetTestScenario>
  </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>
    <GetTestScenarioResponse xmlns="http://aqua-api.andagon.com/">
      <GetTestScenarioResult>
        <ValidFor>string</ValidFor>
        <TestJobs>
          <TestJob>
            <TestCaseId>int</TestCaseId>
            <Id>int</Id>
            <TesterId>int</TesterId>
            <ValueSetKey>string</ValueSetKey>
            <IndexInTestScenario>int</IndexInTestScenario>
            <TestedVersion>string</TestedVersion>
            <LastExecutionDateLocal>dateTime</LastExecutionDateLocal>
            <LastExecutionStatusLocal>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatusLocal>
            <LastExecutionHasAttachmentLocal>boolean</LastExecutionHasAttachmentLocal>
            <LastExecutionIsFinalizedLocal>boolean</LastExecutionIsFinalizedLocal>
            <LastExecutionIdLocal>int</LastExecutionIdLocal>
            <RunDependency>string</RunDependency>
          </TestJob>
          <TestJob>
            <TestCaseId>int</TestCaseId>
            <Id>int</Id>
            <TesterId>int</TesterId>
            <ValueSetKey>string</ValueSetKey>
            <IndexInTestScenario>int</IndexInTestScenario>
            <TestedVersion>string</TestedVersion>
            <LastExecutionDateLocal>dateTime</LastExecutionDateLocal>
            <LastExecutionStatusLocal>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatusLocal>
            <LastExecutionHasAttachmentLocal>boolean</LastExecutionHasAttachmentLocal>
            <LastExecutionIsFinalizedLocal>boolean</LastExecutionIsFinalizedLocal>
            <LastExecutionIdLocal>int</LastExecutionIdLocal>
            <RunDependency>string</RunDependency>
          </TestJob>
        </TestJobs>
        <LastExecutionDate>dateTime</LastExecutionDate>
        <LastExecutionStatus>NotRun or NotCompleted or Failed or Passed or Blocked</LastExecutionStatus>
        <NumberOfTestJobs>int</NumberOfTestJobs>
        <NumberOfTestJobsPassed>int</NumberOfTestJobsPassed>
        <NumberOfTestJobsFailed>int</NumberOfTestJobsFailed>
        <NumberOfTestJobsBlocked>int</NumberOfTestJobsBlocked>
        <NumberOfTestJobsNotCompleted>int</NumberOfTestJobsNotCompleted>
        <NumberOfTestJobsNotRun>int</NumberOfTestJobsNotRun>
      </GetTestScenarioResult>
    </GetTestScenarioResponse>
  </soap12:Body>
</soap12:Envelope>