StarterTemplate ASP.NET Host

<back to all web services

TestSetRunHistoryGetRequest

TestSet Service

The following routes are available for this service:
GET/service/api/v2/projects/{ProjectId}/testsets/{Id}/testrunsReturns test runs for the specified test setThe authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains test sets
IdpathintYesThe ID of the test set
FilterquerystringNoThe filter expression to apply to the list of test runs
OffsetqueryintNoThe number of test runs to skip before counting the returned test runs
LimitqueryintNoThe maximum number of test runs to return

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/TestSetRunHistoryGetRequest HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

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

{
	results: 
	[
		{
			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
		}
	]
}