Jobs › Fetch Session-Level details associated with your Job ID.
Jobs
Fetch Session-Level details associated with your Job ID. This API retrieves session-level execution details for all tests that were executed as part of a given Job ID. A session represents an individual test execution instance, providing more granular insights into the execution of test cases.
Fetch Session-Level details associated with your Job ID. curl -- request GET \
-- url "https://api.hyperexecute.cloud/v2.0/job/{jobID}/sessions" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : [
{
"sessionID" : "XXXX-XXXX-XXXX-XXXX" ,
"testID" : "XXXX-XXXX-XXXX-XXXX" ,
"taskID" : "00xx000-0x0x-000x-0xxx-00000x000xxx" ,
"name" : "aliasing.spec.js" ,
"scenario_name" : "aliasing.spec.js" ,
"status" : "passed" ,
"group_number" : 2 ,
"duration" : "00:00:16" ,
"smartUI_enabled" : false
}
] ,
"metadata" : {
"total" : 1 ,
"cursor" : "" ,
"hasmore" : false
} ,
"status" : "success"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters jobID string required
Enter your Job ID
Query Parameters limit integer
Limits the number of sessions shown in the response (default is 10, max is 20).
cursor string
Helps in moving across pagination. Accepts an "id" value and returns sessions with an "id" greater than or equal to it.
status string
Filter sessions based on their execution status.
search_text string
Filter response based on occurrences of the search text in the 'scenario_name' field.
Response 200▼
application/json Successful operation
data object[]
▶ Hide child attributesdata. sessionID string
Example: "XXXX-XXXX-XXXX-XXXX"
data. testID string
Example: "XXXX-XXXX-XXXX-XXXX"
data. taskID string
Example: "00xx000-0x0x-000x-0xxx-00000x000xxx"
data. name string
Example: "aliasing.spec.js"
data. scenario_name string
Example: "aliasing.spec.js"
data. status string
Example: "passed"
data. group_number number
Example: 2
data. duration string
Example: "00:00:16"
data. smartUI_enabled boolean
Example: false
metadata object
▶ Hide child attributesmetadata. total number
Example: 1
metadata. cursor string
Example: ""
metadata. hasmore boolean
Example: false
Fetch Session-Level details associated with your Job ID. curl -- request GET \
-- url "https://api.hyperexecute.cloud/v2.0/job/{jobID}/sessions" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : [
{
"sessionID" : "XXXX-XXXX-XXXX-XXXX" ,
"testID" : "XXXX-XXXX-XXXX-XXXX" ,
"taskID" : "00xx000-0x0x-000x-0xxx-00000x000xxx" ,
"name" : "aliasing.spec.js" ,
"scenario_name" : "aliasing.spec.js" ,
"status" : "passed" ,
"group_number" : 2 ,
"duration" : "00:00:16" ,
"smartUI_enabled" : false
}
] ,
"metadata" : {
"total" : 1 ,
"cursor" : "" ,
"hasmore" : false
} ,
"status" : "success"
}