Skip to main content
JobsFetch Session-Level details associated with your Job ID.
TestMu AI
StatusCommunityBlog
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.

GET
/v2.0/job/{jobID}/sessions
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

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

jobIDstringrequired

Enter your Job ID

Query Parameters

limitinteger

Limits the number of sessions shown in the response (default is 10, max is 20).

cursorstring

Helps in moving across pagination. Accepts an "id" value and returns sessions with an "id" greater than or equal to it.

statusstring

Filter sessions based on their execution status.

search_textstring

Filter response based on occurrences of the search text in the 'scenario_name' field.

Response

application/json

Successful operation

dataobject[]
data.sessionIDstring
Example: "XXXX-XXXX-XXXX-XXXX"
data.testIDstring
Example: "XXXX-XXXX-XXXX-XXXX"
data.taskIDstring
Example: "00xx000-0x0x-000x-0xxx-00000x000xxx"
data.namestring
Example: "aliasing.spec.js"
data.scenario_namestring
Example: "aliasing.spec.js"
data.statusstring
Example: "passed"
data.group_numbernumber
Example: 2
data.durationstring
Example: "00:00:16"
data.smartUI_enabledboolean
Example: false
metadataobject
metadata.totalnumber
Example: 1
metadata.cursorstring
Example: ""
metadata.hasmoreboolean
Example: false
statusstring
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"
}