StarterTemplate ASP.NET Host

<back to all web services

RequestTestRunPatch

TestRun Service

The following routes are available for this service:
PATCH/service/api/v2/projects/{ProjectId}/testruns/{Id}Updates the test runThe authenticating user must have the Update privilege for the Test Library.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test run
IdpathintYesThe ID of the test run you need to update

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

HTTP + JSV

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

POST /jsv/reply/RequestTestRunPatch HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	project_id: 0,
	id: 0,
	status_code: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	test_set_id: 0,
	test_set_name: String,
	run_by_host_id: 0,
	test_config_id: 0,
	configuration_name: String,
	release_id: 0,
	project_id: 0,
	run_by_user_id: 0,
	run_by_user_name: String,
	is_sequential: False,
	status_code: String,
	execution_type: String,
	date_started: 0001-01-01,
	date_finished: 0001-01-01,
	nbr_tests: 0,
	nbr_passed: 0,
	nbr_failed: 0,
	nbr_blocked: 0,
	nbr_awaiting_run: 0,
	run_time: 0,
	run_time_formatted: String,
	release_name: String,
	agents: String,
	schedule_id: String,
	running_since: 0001-01-01,
	test_host: String
}