StarterTemplate ASP.NET Host

<back to all web services

RequestTestsAllPost

Returns the list of tests in a projectThe authenticating user must have the Read privilege for the Test Library. This method fully equivalent to GET method, but this one allows you to send large filter string.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains tests
OffsetqueryintNoThe number of tests to skip before counting the returned tests
LimitqueryintNoThe maximum number of tests to return

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: RequestTestsAllPost

<?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>

<RequestTestsAllPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V1">
  <Filter>String</Filter>
  <Limit>0</Limit>
  <Offset>0</Offset>
  <ProjectId>0</ProjectId>
</RequestTestsAllPost>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<ResponseTestCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V1">
  <Metadata i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" />
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V1" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:ResponseTestSingle>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:AssignedToName>String</d2p1:AssignedToName>
      <d2p1:AssigneeUserId>0</d2p1:AssigneeUserId>
      <d2p1:AvgRunTime>0</d2p1:AvgRunTime>
      <d2p1:AvgRunTimeFormated>String</d2p1:AvgRunTimeFormated>
      <d2p1:CreateUserId>0</d2p1:CreateUserId>
      <d2p1:CustomFields i:nil="true" />
      <d2p1:DateCreated>0001-01-01T00:00:00</d2p1:DateCreated>
      <d2p1:DateLastEscalated>0001-01-01T00:00:00</d2p1:DateLastEscalated>
      <d2p1:DateUpdated>0001-01-01T00:00:00</d2p1:DateUpdated>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:ExecutionType>String</d2p1:ExecutionType>
      <d2p1:FolderId>0</d2p1:FolderId>
      <d2p1:FolderName>String</d2p1:FolderName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:ImportId>0</d2p1:ImportId>
      <d2p1:LastEscalationRule>String</d2p1:LastEscalationRule>
      <d2p1:LastEscalationRuleId>0</d2p1:LastEscalationRuleId>
      <d2p1:LastRunByName>String</d2p1:LastRunByName>
      <d2p1:LastRunByUserId>0</d2p1:LastRunByUserId>
      <d2p1:LastRunDate>0001-01-01T00:00:00</d2p1:LastRunDate>
      <d2p1:LastRunStatus>String</d2p1:LastRunStatus>
      <d2p1:LastRunTestSet>0</d2p1:LastRunTestSet>
      <d2p1:LastRunTestSetTitle>String</d2p1:LastRunTestSetTitle>
      <d2p1:NbrEscalations>0</d2p1:NbrEscalations>
      <d2p1:NbrEvents>0</d2p1:NbrEvents>
      <d2p1:NbrFailStatus>0</d2p1:NbrFailStatus>
      <d2p1:NbrFiles>0</d2p1:NbrFiles>
      <d2p1:NbrNotes>0</d2p1:NbrNotes>
      <d2p1:NbrPassStatus>0</d2p1:NbrPassStatus>
      <d2p1:NbrSteps>0</d2p1:NbrSteps>
      <d2p1:NbrTimesRun>0</d2p1:NbrTimesRun>
      <d2p1:NotesDescription>String</d2p1:NotesDescription>
      <d2p1:OriginalId>0</d2p1:OriginalId>
      <d2p1:OwnerName>String</d2p1:OwnerName>
      <d2p1:OwnerUserId>0</d2p1:OwnerUserId>
      <d2p1:Priority>String</d2p1:Priority>
      <d2p1:ProjectId>0</d2p1:ProjectId>
      <d2p1:Status>String</d2p1:Status>
      <d2p1:TestSteps>
        <d2p1:ResponseTestStep>
          <d2p1:CallToTestParams xmlns:d6p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
            <d6p1:TestParamsDto>
              <d6p1:Name>String</d6p1:Name>
              <d6p1:Value>String</d6p1:Value>
            </d6p1:TestParamsDto>
          </d2p1:CallToTestParams>
          <d2p1:CreateUserId>0</d2p1:CreateUserId>
          <d2p1:DateCreated>0001-01-01T00:00:00</d2p1:DateCreated>
          <d2p1:DateUpdated>0001-01-01T00:00:00</d2p1:DateUpdated>
          <d2p1:ExpectedResult>String</d2p1:ExpectedResult>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:IsStoppedOnFail>false</d2p1:IsStoppedOnFail>
          <d2p1:NbrFiles>0</d2p1:NbrFiles>
          <d2p1:Seq>0</d2p1:Seq>
          <d2p1:Step>String</d2p1:Step>
          <d2p1:UpdateUserId>0</d2p1:UpdateUserId>
          <d2p1:__permissions>
            <Acl>0</Acl>
          </d2p1:__permissions>
        </d2p1:ResponseTestStep>
      </d2p1:TestSteps>
      <d2p1:TestType>String</d2p1:TestType>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:UpdateUserId>0</d2p1:UpdateUserId>
      <d2p1:UserName>String</d2p1:UserName>
      <d2p1:Version>0</d2p1:Version>
      <d2p1:__permissions>
        <Acl>0</Acl>
      </d2p1:__permissions>
    </d2p1:ResponseTestSingle>
  </Results>
</ResponseTestCollection>

    </soap:Body>
</soap:Envelope>