MainService


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

SaveTestCaseExecution

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

<?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>
    <SaveTestCaseExecution xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_execution>
        <ExecutedTestSteps>
          <TestStepExecution>
            <ActualResults>string</ActualResults>
            <Status>NotRun or Failed or Pass or Blocked or Queued or InProgress or Aborted</Status>
            <Id>int</Id>
            <Description>string</Description>
            <ExpectedResults>string</ExpectedResults>
            <Name>string</Name>
            <StepType>Step or Condition or NestedTestCase</StepType>
            <ExecutionLog xsi:nil="true" />
            <AgentsUsed xsi:nil="true" />
          </TestStepExecution>
          <TestStepExecution>
            <ActualResults>string</ActualResults>
            <Status>NotRun or Failed or Pass or Blocked or Queued or InProgress or Aborted</Status>
            <Id>int</Id>
            <Description>string</Description>
            <ExpectedResults>string</ExpectedResults>
            <Name>string</Name>
            <StepType>Step or Condition or NestedTestCase</StepType>
            <ExecutionLog xsi:nil="true" />
            <AgentsUsed xsi:nil="true" />
          </TestStepExecution>
        </ExecutedTestSteps>
      </_execution>
      <_format>Html or HtmlWithEmbeddedImages or RtfWithoutImages or RtfWithImages or PlainText</_format>
      <_saveDescription>boolean</_saveDescription>
    </SaveTestCaseExecution>
  </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>
    <SaveTestCaseExecutionResponse xmlns="http://aqua-api.andagon.com/" />
  </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>
    <SaveTestCaseExecution xmlns="http://aqua-api.andagon.com/">
      <_session>string</_session>
      <_execution>
        <ExecutedTestSteps>
          <TestStepExecution>
            <ActualResults>string</ActualResults>
            <Status>NotRun or Failed or Pass or Blocked or Queued or InProgress or Aborted</Status>
            <Id>int</Id>
            <Description>string</Description>
            <ExpectedResults>string</ExpectedResults>
            <Name>string</Name>
            <StepType>Step or Condition or NestedTestCase</StepType>
            <ExecutionLog xsi:nil="true" />
            <AgentsUsed xsi:nil="true" />
          </TestStepExecution>
          <TestStepExecution>
            <ActualResults>string</ActualResults>
            <Status>NotRun or Failed or Pass or Blocked or Queued or InProgress or Aborted</Status>
            <Id>int</Id>
            <Description>string</Description>
            <ExpectedResults>string</ExpectedResults>
            <Name>string</Name>
            <StepType>Step or Condition or NestedTestCase</StepType>
            <ExecutionLog xsi:nil="true" />
            <AgentsUsed xsi:nil="true" />
          </TestStepExecution>
        </ExecutedTestSteps>
      </_execution>
      <_format>Html or HtmlWithEmbeddedImages or RtfWithoutImages or RtfWithImages or PlainText</_format>
      <_saveDescription>boolean</_saveDescription>
    </SaveTestCaseExecution>
  </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>
    <SaveTestCaseExecutionResponse xmlns="http://aqua-api.andagon.com/" />
  </soap12:Body>
</soap12:Envelope>