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: RequestTestPostV2
<?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>
<RequestTestPostV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V2">
<Active>false</Active>
<AssigneeUserId>0</AssigneeUserId>
<CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
<DefaultHostId>0</DefaultHostId>
<Description>String</Description>
<ExecutionType>String</ExecutionType>
<FolderId>0</FolderId>
<OriginalId>0</OriginalId>
<Priority>String</Priority>
<ProjectId>0</ProjectId>
<Status>String</Status>
<TestSteps>
<RequestTestStep>
<CallToTestId>0</CallToTestId>
<CallToTestParams xmlns:d4p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
<d4p1:TestParamsDto>
<d4p1:Name>String</d4p1:Name>
<d4p1:Value>String</d4p1:Value>
</d4p1:TestParamsDto>
</CallToTestParams>
<ExpectedResult>String</ExpectedResult>
<IsStoppedOnFail>false</IsStoppedOnFail>
<Seq>0</Seq>
<Step>String</Step>
<StepCriteria>String</StepCriteria>
</RequestTestStep>
</TestSteps>
<TestType>String</TestType>
<Title>String</Title>
</RequestTestPostV2>
</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>
<ResponseTestSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Tests.V2">
<Active>false</Active>
<AssignedToName>String</AssignedToName>
<AssigneeUserId>0</AssigneeUserId>
<AvgRunTime>0</AvgRunTime>
<AvgRunTimeFormatted>String</AvgRunTimeFormatted>
<CreateUserId>0</CreateUserId>
<CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
<DateCreated>0001-01-01T00:00:00</DateCreated>
<DateLastEscalated>0001-01-01T00:00:00</DateLastEscalated>
<DateUpdated>0001-01-01T00:00:00</DateUpdated>
<DefaultHostId>0</DefaultHostId>
<DefaultHostName>String</DefaultHostName>
<Description>String</Description>
<ExecutionType>String</ExecutionType>
<FolderId>0</FolderId>
<FolderName>String</FolderName>
<Id>0</Id>
<ImportId>0</ImportId>
<LastEscalationRule>String</LastEscalationRule>
<LastEscalationRuleId>0</LastEscalationRuleId>
<LastRunByName>String</LastRunByName>
<LastRunByUserId>0</LastRunByUserId>
<LastRunDate>0001-01-01T00:00:00</LastRunDate>
<LastRunStatus>String</LastRunStatus>
<LastRunTestSet>0</LastRunTestSet>
<LastRunTestSetTitle>String</LastRunTestSetTitle>
<NbrEscalations>0</NbrEscalations>
<NbrEvents>0</NbrEvents>
<NbrFailStatus>0</NbrFailStatus>
<NbrFiles>0</NbrFiles>
<NbrNotes>0</NbrNotes>
<NbrPassStatus>0</NbrPassStatus>
<NbrSteps>0</NbrSteps>
<NbrTimesRun>0</NbrTimesRun>
<NotesDescription>String</NotesDescription>
<OriginalId>0</OriginalId>
<OwnerName>String</OwnerName>
<OwnerUserId>0</OwnerUserId>
<Priority>String</Priority>
<ProjectId>0</ProjectId>
<Status>String</Status>
<TestSteps>
<ResponseTestStep>
<CallToTestId>0</CallToTestId>
<CallToTestParams xmlns:d4p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
<d4p1:TestParamsDto>
<d4p1:Name>String</d4p1:Name>
<d4p1:Value>String</d4p1:Value>
</d4p1:TestParamsDto>
</CallToTestParams>
<CallToTestTitle>String</CallToTestTitle>
<CreateUserId>0</CreateUserId>
<DateCreated>0001-01-01T00:00:00</DateCreated>
<DateUpdated>0001-01-01T00:00:00</DateUpdated>
<ExpectedResult>String</ExpectedResult>
<Id>0</Id>
<IsStoppedOnFail>false</IsStoppedOnFail>
<NbrFiles>0</NbrFiles>
<Seq>0</Seq>
<Step>String</Step>
<StepCriteria>String</StepCriteria>
<Type>String</Type>
<UpdateUserId>0</UpdateUserId>
<__permissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d4p1:Acl>0</d4p1:Acl>
</__permissions>
</ResponseTestStep>
</TestSteps>
<TestType>String</TestType>
<Title>String</Title>
<UpdateUserId>0</UpdateUserId>
<UserName>String</UserName>
<Version>0</Version>
<__permissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:Acl>0</d2p1:Acl>
</__permissions>
</ResponseTestSingle>
</soap:Body>
</soap:Envelope>