Get all test run projects
get
https://{your_site_interface}/opa-hub/api/12.2.35/tests/{test-suite-name}/runs/{test-run-runNumber}/projects
This operation will get all test run projects.
Request
Path Parameters
-
test-run-runNumber(required): string
Identity of the test run to be retrieved.
-
test-suite-name(required): string
The name of the test suite to be retrieved.
Query Parameters
-
expand: string
Comma separated list of named resources to expand, or "all" to expand all
-
fields: string
Comma separated list of fields to be returned
-
links: string
Comma separated list of links to be returned, or "none" to omit links
-
q: string
A JSON object for filtering matching property values within the collection
There's no request body for this operation.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Nested Schema : testRunProject
Type:
Show Source
object
-
name: string
Read Only:
true
The name of the tested project. -
results: object
testRunProjectResults
-
summary: object
testRunProjectSummary
-
version: number
(double)
Read Only:
true
The version of the tested project.
Nested Schema : testRunProjectSummary
Type:
Show Source
object
-
error: number
(double)
The number of tests that encountered and error for the tested project.
-
failed: number
(double)
The number of tests that have failed for the tested project.
-
passed: number
(double)
The number of tests that have passed for the tested project.
-
pending: number
(double)
The number of tests that are pending for the tested project.
-
total: number
(double)
The total number of tests for the tested project.
Nested Schema : testCaseResult
Type:
Show Source
object
-
actualOutput: object
testCaseResultActualOutput
Additional Properties Allowed:
true
-
expectedOutput: object
testCaseResultExpectedOutput
Additional Properties Allowed:
true
-
input: object
testCaseResultInput
Additional Properties Allowed:
true
-
name: string
Read Only:
true
The name of the test case result. -
outcome: object
testCaseResultOutcome
Additional Properties Allowed:
true
-
status: string
Read Only:
true
The status of the test case result.
Nested Schema : testCaseResultActualOutput
Type:
object
Additional Properties Allowed:
true
Nested Schema : testCaseResultExpectedOutput
Type:
object
Additional Properties Allowed:
true
Nested Schema : testCaseResultInput
Type:
object
Additional Properties Allowed:
true
Nested Schema : testCaseResultOutcome
Type:
object
Additional Properties Allowed:
true