Get Test Results of Execution by Scenario ID
9 min
this endpoint retrieves the test results for a specific scenario within a given execution the user must have the test result view authority to access this endpoint endpoint information url https //testinium io/testinium restapi/api/results/execution/{executionid}/scenario/{scenarioid} method get authentication required ( bearer token ) path parameters parameter type required description executionid long yes the unique id of the test execution scenarioid long yes the unique id of the test scenario request parameters no request body is required for this endpoint the parameters executionid and scenarioid are provided as path parameters response the response contains a list of test results for the specified execution and scenario \[ { "id" 3571814, "level" "waiting", "runtime" 0, "environment" { "id" 1188, "name" "firefox", "operating system" "win10", "browser type" "firefox", "environment type" "firefox", "environment version" "134", "enabled" true, "operating system clean name" "windows 10", "mobile" false }, "session id" "05755767628875375975", "message" "", "screenshots enabled" false, "screen shot type" "no", "video enabled" false, "performance data enabled" false, "test key" "test c5267 p3362 e276081 s23057 env 1188 win10 firefox 134", "video format" "flv", "node log path" "https //testinium dev cloud s3 amazonaws com/5267/2025/01/23/05755767628875375975/node log", "executor log path" "https //testinium dev cloud s3 amazonaws com/5267/2025/01/23/05755767628875375975/testresult log", "screen resolution" "1024x768", "user id" 5322, "project id" 1424, "plan id" 3362, "scenario id" 23057, "execution id" 276081, "company id" 5267, "user info" { "id" 5322, "name" "mehmet", "surname" "aksahin", "username" "mehmetaksahin", "email" "mehmet aksahin\@testinium com", "enabled" true, "account non expired" true, "account non locked" true, "credential non expired" true, "language" "english", "time zone" "utc", "company" "mehmetaksahin", "company id" 5267, "current company" "mehmetaksahin", "current company id" 5267, "roles" \[ "role admin", "role change user", "role user", "role report", "role integration", "role run test", "role company admin" ], "access token" "b0fa2cca656533bb82e5978f677b4b4a" }, "start date" "2025 01 23t10 00 58z" } ] response fields field type description id long the unique id of the test result level string the current status of the test result (e g , waiting ) runtime int the runtime duration of the test (in seconds) environment object details of the environment where the test ran session id string the unique session id for the test message string additional messages or details related to the test result screenshots enabled boolean indicates if screenshots are enabled for the test screen shot type string the type of screenshot (e g , no , full ) video enabled boolean indicates if video recording is enabled for the test performance data enabled boolean indicates if performance data collection is enabled test key string the unique key identifying the test node log path string (url) the url for downloading the node log executor log path string (url) the url for downloading the executor log screen resolution string the screen resolution used during the test (e g , 1024x768 ) user id long the id of the user who initiated the test project id long the id of the associated project plan id long the id of the associated plan scenario id long the id of the associated scenario execution id long the id of the associated execution company id long the id of the associated company user info object details of the user who initiated the test start date string (iso8601) the start date and time of the test execution error codes http code error message description 401 access denied the user lacks the test result view authority 404 execution not found no execution was found for the specified id 404 test scenario not found no scenario was found for the specified id 500 users company not exists the company associated with the user does not exist 500 system internal error an unexpected error occurred while processing the request example request curl location 'https //testinium io/testinium restapi/api/results/execution/{executionid}/scenario/{scenarioid}' \ \ header 'authorization bearer \<your access token>'