TestExecutionStatus
Find status by project id¶
Attempt to find a test execution status specified by a project id
Request¶
Parameters¶
Parameter | Path/Query | Type | Required | Notes |
---|---|---|---|---|
ProjectId | path | integer | yes | defines the id of a project |
Request body¶
This endpoint does not have a request body
Request body example¶
curl --location 'https://example.juno.one/testexecutionstatuses/13' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4Mzg3OTk2Nn0.jMp0CqpwG4uspiWoBZ7gUEEavMtdJkeAdZzaiz3EV8UXTok-4y-81diOy8TuYz9LtDMXMxJytiWKBlMoLc1WoA' \
--header 'X-tenantID: example'
import requests
url = "https://example.juno.one/testexecutionstatuses/13"
payload = {}
headers = {
'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4NDQ4MzYyNn0.cYdUo4oiHnkdAywSAb7EFus9PFg-2FYHZPj4gdMML-mKgUVZw9fewOo4QK6U3PqCzGWjFVksz8HULzyKMnV8AA',
'X-tenantID': 'example'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
val client = OkHttpClient()
val request = Request.Builder()
.url("https://example.juno.one/testexecutionstatuses/13")
.addHeader("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4NDQ4MzYyNn0.cYdUo4oiHnkdAywSAb7EFus9PFg-2FYHZPj4gdMML-mKgUVZw9fewOo4QK6U3PqCzGWjFVksz8HULzyKMnV8AA")
.addHeader("X-tenantID", "example")
.build()
val response = client.newCall(request).execute()
Response¶
Successful response of find test execution status by project id has the status 200
with following response body:
404
Not found
406
Insufficient permision
Find status by analysis and batch id¶
Attempt to find a test execution status specified by the test analysis id and batch id
Request¶
Parameters¶
Parameter | Path/Query | Type | Required | Notes |
---|---|---|---|---|
test_analysis_id | path | integer | yes | defines the id of a test analysis |
batch_id | path | integer | yes | defines the id of a batch |
Request body¶
This endpoint does not have a request body
Request body example¶
curl --location 'https://example.juno.one/testexecution/status/1/batch/1' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4Mzg3OTk2Nn0.jMp0CqpwG4uspiWoBZ7gUEEavMtdJkeAdZzaiz3EV8UXTok-4y-81diOy8TuYz9LtDMXMxJytiWKBlMoLc1WoA' \
--header 'X-tenantID: example'
import requests
url = "https://example.juno.one/testexecution/status/1/batch/1"
payload = {}
headers = {
'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4NDQ4MzYyNn0.cYdUo4oiHnkdAywSAb7EFus9PFg-2FYHZPj4gdMML-mKgUVZw9fewOo4QK6U3PqCzGWjFVksz8HULzyKMnV8AA',
'X-tenantID': 'example'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
val client = OkHttpClient()
val request = Request.Builder()
.url("https://example.juno.one/testexecution/status/1/batch/1")
.addHeader("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0QGp1bm8ub25lIiwidGVuYW50SUQiOiJkZXZlbG9wbWVudCIsImV4cCI6MTY4NDQ4MzYyNn0.cYdUo4oiHnkdAywSAb7EFus9PFg-2FYHZPj4gdMML-mKgUVZw9fewOo4QK6U3PqCzGWjFVksz8HULzyKMnV8AA")
.addHeader("X-tenantID", "example")
.build()
val response = client.newCall(request).execute()
Response¶
Successful response of find test execution status by test analysis and batch id has the status 200
with following response body:
404
Not found
406
Insufficient permision