HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RequestTestRunPost HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: application/xml
Content-Length: length
<RequestTestRunPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestRuns">
<ForceNewRunCreation>false</ForceNewRunCreation>
<IsSequential>false</IsSequential>
<Parameters>
<TestRunParameter>
<Name>String</Name>
<Value>String</Value>
</TestRunParameter>
</Parameters>
<ProjectId>0</ProjectId>
<ReleaseId>0</ReleaseId>
<RunByHostId>0</RunByHostId>
<TestConfigId>0</TestConfigId>
<TestId>0</TestId>
<TestSetId>0</TestSetId>
</RequestTestRunPost>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseTestRunSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestRuns">
<Agents>String</Agents>
<ConfigurationName>String</ConfigurationName>
<DateFinished>0001-01-01T00:00:00</DateFinished>
<DateStarted>0001-01-01T00:00:00</DateStarted>
<ExecutionType>String</ExecutionType>
<Id>0</Id>
<IsSequential>false</IsSequential>
<NbrAwaitingRun>0</NbrAwaitingRun>
<NbrBlocked>0</NbrBlocked>
<NbrFailed>0</NbrFailed>
<NbrPassed>0</NbrPassed>
<NbrTests>0</NbrTests>
<ProjectId>0</ProjectId>
<ReleaseId>0</ReleaseId>
<ReleaseName>String</ReleaseName>
<RunByHostId>0</RunByHostId>
<RunByUserId>0</RunByUserId>
<RunByUserName>String</RunByUserName>
<RunTime>0</RunTime>
<RunTimeFormatted>String</RunTimeFormatted>
<RunningSince>0001-01-01T00:00:00</RunningSince>
<ScheduleId>String</ScheduleId>
<StatusCode>String</StatusCode>
<TestConfigId>0</TestConfigId>
<TestHost>String</TestHost>
<TestSetId>0</TestSetId>
<TestSetName>String</TestSetName>
</ResponseTestRunSingle>