HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: text/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>
<RequestTestsAllPostV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V2">
<Filter>String</Filter>
<Limit>0</Limit>
<Offset>0</Offset>
<ProjectId>0</ProjectId>
</RequestTestsAllPostV2>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<ResponseTestCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V2">
<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.V2" 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:AvgRunTimeFormatted>String</d2p1:AvgRunTimeFormatted>
<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:DefaultHostId>0</d2p1:DefaultHostId>
<d2p1:DefaultHostName>String</d2p1:DefaultHostName>
<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:CallToTestId>0</d2p1:CallToTestId>
<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:CallToTestTitle>String</d2p1:CallToTestTitle>
<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:StepCriteria>String</d2p1:StepCriteria>
<d2p1:Type>String</d2p1:Type>
<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>
</soap12:Body>
</soap12:Envelope>