Testinium Enterprise
  • TESTINIUM ENTERPRISE
    • Testinium Enterprise Documentation
  • Login
    • User Login
    • Reset Password
  • Dashboard
    • Dashboard
    • User Profile
    • Company Details
  • System Settings
    • System Settings
      • Licence Information
        • Add New Licence Key
        • Edit Licence Key
        • Delete Licence Key
        • Update Public Key
      • General Test Plan Settings
      • System Properties
        • Creating New System Property
        • Edit Property
        • Delete Property
      • Selenium Hubs
        • Creating Selenium Hub
        • Edit Selenium Hub
        • Delete Selenium Hub
      • Role / Permission Management
        • Roles
          • Create New Role
          • Edit Role
          • Delete Role
        • Permission
          • Create New Permission
          • Edit Permission
          • Delete Permission
      • Browsers / Phones
        • Create New Phone/Browser
        • Edit Phone/Browser
        • Delete Browser/Phone
      • Test Environments
        • Create New Environment
        • Edit Enviroment
        • Delete Environment
      • Test Environment Status
      • Active Tests
      • Screen Resolutions
        • Create New Screen Resolution
        • Edit Screen Resolution
        • Delete Screen Resolution
      • Predefined Exceptions
        • Create Predefined Exception
        • Edit Predefined Exception
        • Delete Predefined Exception
      • Cloud Test Environment
      • Cloud Test Environments Groups
        • Create Cloud Environment Group
        • Edit Cloud Environment Group
        • Delete Cloud Environment Group
      • Notifications
      • Project Clone
      • Company’s Scheduled Plan
  • Companies
    • Companies
      • Create New Company
      • Edit Company
  • Users
    • Users
      • Create New User
      • Edit User
      • Delete User
      • Manage Roles
  • Projects
    • Projects
      • Create New Project
      • Edit Project
      • Delete Project
  • Plans
    • Plans
      • Create Plan
      • Edit Plan
      • Delete Plan
      • Test Report
      • Run Test Plan
      • Show Running Test Plan
      • Run with Tag
      • New Tag
  • Scenarios
    • Scenarios
      • Create New Scenarios
      • Create New Group
      • New Sub Scenario
      • Edit Scenario
      • Delete Scenario
      • Export Excel
  • BDD EDITOR
    • Create Concept File
    • Create Spec File
    • Create Feature File
  • REPORTS
    • Test Executions (Auto)
      • Test Result Reports
    • Test Execution(Remote)
    • Detailed Reports
      • Test Result Report
    • Instant Reports
    • Scheduled Report
      • Create New Periodically Reports
      • Edit Periodically Report
      • Delete Periodically Report
      • Report History
    • Graph Report
    • Execution Graph
    • Pass Rate Reports
    • Test Executions (Tag)
    • Test Result by Period
  • Plugins
    • Plugins
      • Jenkins
      • Azure Devops Board
      • Jira
      • Testinium Cloud
  • API's
    • Auth
      • Login
    • Project
      • Get All Projects
      • Get Project by ID or Name
      • Get Projects by Company ID
      • Get Active Project By ID
      • Get All Projects by User's Companies
      • Get All Companies
      • Create Project
      • Update Project
      • Upload File to Project
      • Delete Mobile App
    • Scenario
      • Get All Scenarios
      • Get Scenarios Of Plan
      • Get Scenario by Name or ID
      • Get Scenarios by User Company
      • Get Test Parameters
      • Create Scenario
      • Update Scenario
      • Update Test Parameters
    • Plan
      • Get All Plans
      • Get All Plans By Project Name or ID
      • Get All Plans by User's Companies
      • Get Plans Of Scenario
      • Get All Active Plans by Project ID
      • Get Plan By ID
      • Get Plan By Project And Plan Name Or Id
      • Get Active Plan By ID
      • Create Test Plan
      • Update Test Plan
      • Update Selected Android Mobile App for Test Plan
      • Update Selected iOS Mobile App for Test Plan
      • Run Test Plan
      • Run Test Plan with Company ID
      • Rerun Test Plan
      • Stop Test Plan
      • Check If Test Plan Is Running
    • Reports
      • Get Test Execution by ID
      • Get All Test Executions by Plan
      • Get All Test Executions by Plan and Page
      • Get Test Result by ID
      • List Test Results by Execution ID
      • List Test Results
  • RELEASE NOTES
    • Release Notes
      • Testinium-Enterprise 1.16.7 Release Notes
      • Testinium-Enterprise 1.16.6 Release Notes
      • Testinium-Enterprise 1.16.5 Release Notes
      • Testinium-Enterprise 1.16.4 Release Notes
      • Testinium-Enterprise 1.16.3 Release Notes
      • Testinium-Enterprise 1.16.2 Release Notes
      • Testinium-Enterprise 1.15.1 Release Notes
      • Testinium-Enterprise 1.15.0 Release Notes
      • Testinium 1.14.4 Release Notes​
      • Testinium 1.14.1 Release Notes
      • Testinium 1.14.0 Release Notes
      • Testinium 1.13.4 Release Notes
      • Testinium 1.13.0 – 1.13.3 Release Notes
  • Appium 2 Sample Projects
    • Appium 2 Sample Projects
      • Appium 2 Java
        • BaseTest
        • IOSTest And AndroidTest
        • Hook
      • Appium 2 Gauge
        • HookImp
        • pom.xml
        • StepImp
        • Spec File
        • Concept File
Powered by GitBook
On this page
  • Endpoint Information
  • Path Variables
  • Error Codes
  • Example Request
  1. API's
  2. Reports

Get Test Execution by ID

The endpoint allows users to retrieve detailed information about a specific test execution by its ID.


Endpoint Information

  • URL: <custom-env-url>/Testinium.RestApi/api/testExecutions/{execId}

  • Method: GET

  • Authentication: Bearer Token is required


Path Variables

Parameter
Type
Required
Description

execId

String

Yes

The unique identifier of the test execution.


Response Body

Upon a successful request, the API returns a TestExecutionDTO object containing the details of the requested test execution.

{
  "id": 3742,
  "plan": {
    "id": 227
  },
  "start_date": 1732797830000,
  "end_date": 1732797854000,
  "test_results": [
    {
      "id": 15227,
      "level": "FAILURE",
      "start_date": 1732797845000,
      "end_date": 1732797848000,
      "runtime": 3000,
      "session_id": "15879933334363832172",
      "message": "15:44:04.112 request: 1 > GET https://yesno.wtf/api 1 > Host: yesno.wtf 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.25) 1 > Accept-Encoding: gzip,deflate 15:44:04.752 response time in milliseconds: 593 1 < 200 1 < Content-Type: application/json; charset=utf-8 1 < Transfer-Encoding: chunked 1 < Connection: keep-alive 1 < Status: 200 OK 1 < Cache-Control: max-age=0, private, must-revalidate 1 < Access-Control-Allow-Origin: * 1 < X-XSS-Protection: 1; mode=block 1 < X-Request-Id: f0a3c0cf-f1fb-44bf-9e2c-9f5f9d2c74f3 1 < ETag: "370a7d197e34c7bedd782d73b01526b8" 1 < X-Frame-Options: SAMEORIGIN 1 < X-Runtime: 0.002104 1 < X-Content-Type-Options: nosniff 1 < Access-Control-Request-Method: * 1 < Date: Thu, 28 Nov 2024 11:34:25 GMT 1 < X-Powered-By: Phusion Passenger 6.0.4 1 < Server: nginx/1.17.3 + Phusion Passenger 6.0.4 {"image":"https://yesno.wtf/assets/no/17-829284e9dd894ce9fb65fbe86d2e382c.gif","answer":"no","forced":false} 15:44:04.773 retry condition not satisfied: response.answer == 'yes1' 15:44:04.774 sleeping before retry #1 15:44:05.776 request: 2 > GET https://yesno.wtf/api 2 > Host: yesno.wtf 2 > Connection: Keep-Alive 2 > User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.25) 2 > Accept-Encoding: gzip,deflate 15:44:05.913 response time in milliseconds: 136 2 < 200 2 < Content-Type: application/json; charset=utf-8 2 < Transfer-Encoding: chunked 2 < Connection: keep-alive 2 < Status: 200 OK 2 < Cache-Control: max-age=0, private, must-revalidate 2 < Access-Control-Allow-Origin: * 2 < X-XSS-Protection: 1; mode=block 2 < X-Request-Id: b168a91c-552f-4759-95f2-729c2bd01223 2 < ETag: "8946c2cbd4f744b0abf9b8ae654a182c" 2 < X-Frame-Options: SAMEORIGIN 2 < X-Runtime: 0.002276 2 < X-Content-Type-Options: nosniff 2 < Access-Control-Request-Method: * 2 < Date: Thu, 28 Nov 2024 11:34:26 GMT 2 < X-Powered-By: Phusion Passenger 6.0.4 2 < Server: nginx/1.17.3 + Phusion Passenger 6.0.4 {"image":"https://yesno.wtf/assets/yes/5-64c2804cc480",
      "screen_shot_type": "NO",
      "video_enabled": false,
      "performance_data_enabled": false,
      "test_key": "TEST-C2-P227-E3742-S3018",
      "test_scenario": {
        "id": 3018
      },
      "test_plan": {
        "id": 227
      },
      "project": {
        "id": 761
      },
      "video_format": "FLV",
      "test_execution": {
        "id": 3742
      },
      "node_log_path": "https://dev.testinium.com//storage?key=2/2024/11/28/15879933334363832172/node.log",
      "executor_log_path": "https://dev.testinium.com//storage?key=2/2024/11/28/15879933334363832172/testResult.log"
    }
  ],
  "result_summary": {
    "FAILURE": 1
  },
  "test_result_status_counts": "[FAILURE, 1]"
}
Field
Type
Description

id

Long

The unique ID of the test execution.

level

String

The status of the test execution (e.g., FAILURE).

start_date

Long

Start time of the test execution in epoch format.

end_date

Long

End time of the test execution in epoch format.

runtime

int

Total runtime in milliseconds.

session_id

String

Unique session identifier for this execution.

message

String

Execution message detailing any errors or warnings.

video_enabled

Boolean

Indicates if video recording was enabled.

performance_data_enabled

Boolean

Indicates if performance data collection was enabled.

test_scenario.id

Long

The ID of the associated test scenario.

test_plan.id

Long

The ID of the associated test plan.

project.id

Long

The ID of the project related to the execution.

video_format

String

The format of the recorded video, if available.

environment.id

Long

The ID of the environment used in this execution.

test_execution.id

Long

Reference ID of the test execution.

node_log_path

String

URL to the node log file for the execution.

executor_log_path

String

URL to the test result log file for the execution.


Error Codes

HTTP Code
Error Message
Description

404

Test Execution not found

The specified test execution was not found.

500

Internal Server Error

An unexpected error occurred on the server side.


Example Request

curl --location '<custom-env-url>/Testinium.RestApi/api/testExecutions/{execId}' \
--header 'Authorization: Bearer <your_access_token>'
PreviousReportsNextGet All Test Executions by Plan

Last updated 2 months ago